This commit is contained in:
Sem van der Hoeven
2021-03-31 10:23:34 +02:00
123 changed files with 9369 additions and 9465 deletions

View File

@@ -0,0 +1,49 @@
main.d main.o: .././main.c \
c:\program\ files\microchip\xc8\v2.31\avr\avr\include\avr\io.h \
c:\program\ files\microchip\xc8\v2.31\avr\avr\include\avr\sfr_defs.h \
c:\program\ files\microchip\xc8\v2.31\avr\avr\include\inttypes.h \
c:\program\ files\microchip\xc8\v2.31\avr\lib\gcc\avr\5.4.0\include\stdint.h \
c:\program\ files\microchip\xc8\v2.31\avr\avr\include\stdint.h \
C:/Program\ Files\ (x86)/Atmel/Studio/7.0/Packs/atmel/ATmega_DFP/1.6.364/xc8/avr/include/avr/iom128.h \
c:\program\ files\microchip\xc8\v2.31\avr\avr\include\avr\portpins.h \
c:\program\ files\microchip\xc8\v2.31\avr\avr\include\avr\common.h \
c:\program\ files\microchip\xc8\v2.31\avr\avr\include\avr\version.h \
c:\program\ files\microchip\xc8\v2.31\avr\avr\include\avr\fuse.h \
c:\program\ files\microchip\xc8\v2.31\avr\avr\include\avr\lock.h \
c:\program\ files\microchip\xc8\v2.31\avr\avr\include\util\delay.h \
c:\program\ files\microchip\xc8\v2.31\avr\avr\include\util\delay_basic.h \
c:\program\ files\microchip\xc8\v2.31\avr\avr\include\math.h \
c:\program\ files\microchip\xc8\v2.31\avr\avr\include\stdlib.h \
c:\program\ files\microchip\xc8\v2.31\avr\lib\gcc\avr\5.4.0\include\stddef.h
c:\program\ files\microchip\xc8\v2.31\avr\avr\include\avr\io.h:
c:\program\ files\microchip\xc8\v2.31\avr\avr\include\avr\sfr_defs.h:
c:\program\ files\microchip\xc8\v2.31\avr\avr\include\inttypes.h:
c:\program\ files\microchip\xc8\v2.31\avr\lib\gcc\avr\5.4.0\include\stdint.h:
c:\program\ files\microchip\xc8\v2.31\avr\avr\include\stdint.h:
C:/Program\ Files\ (x86)/Atmel/Studio/7.0/Packs/atmel/ATmega_DFP/1.6.364/xc8/avr/include/avr/iom128.h:
c:\program\ files\microchip\xc8\v2.31\avr\avr\include\avr\portpins.h:
c:\program\ files\microchip\xc8\v2.31\avr\avr\include\avr\common.h:
c:\program\ files\microchip\xc8\v2.31\avr\avr\include\avr\version.h:
c:\program\ files\microchip\xc8\v2.31\avr\avr\include\avr\fuse.h:
c:\program\ files\microchip\xc8\v2.31\avr\avr\include\avr\lock.h:
c:\program\ files\microchip\xc8\v2.31\avr\avr\include\util\delay.h:
c:\program\ files\microchip\xc8\v2.31\avr\avr\include\util\delay_basic.h:
c:\program\ files\microchip\xc8\v2.31\avr\avr\include\math.h:
c:\program\ files\microchip\xc8\v2.31\avr\avr\include\stdlib.h:
c:\program\ files\microchip\xc8\v2.31\avr\lib\gcc\avr\5.4.0\include\stddef.h:

Binary file not shown.

View File

@@ -1 +0,0 @@
:00000001FF

Binary file not shown.

View File

@@ -0,0 +1,32 @@
:100000000C944A000C94A0000C94A0000C94A00046
:100010000C94A0000C94A0000C94A0000C94A000E0
:100020000C94A0000C94A0000C94A0000C94A000D0
:100030000C94A0000C94A0000C94A0000C94A000C0
:100040000C94A0000C94A0000C94A0000C94A000B0
:100050000C94A0000C94A0000C94A0000C94A000A0
:100060000C94A0000C94A0000C94A0000C94A00090
:100070000C94A0000C94A0000C94A0000C94A00080
:100080000C94A0000C94A0000C94A000010001901E
:100090000001440011241FBECFEFD0E1DEBFCDBF71
:1000A000ECE8F0E040E019C0B791A79137912791B3
:1000B000079107FD0EC097918791EF01F92FE82F67
:1000C0000BBF07900D92A217B307D9F7FE011BBE15
:1000D00004C01D92A217B307E1F7E339F40721F733
:0C00E0000E9476000C947400F894FFCF8E
:1000EC008FEF8ABB00E010E0C0E0D0E010C0FE0152
:1000FC00EE0FFF1FEC0FFD1FE050FF4F80818BBBFD
:10010C00818192810E94910021960F5F1F4F0033D5
:06011C00110568F3E7CFB6
:1001220020E030E008C0E3ECF9E03197F1F700C0DD
:0E01320000002F5F3F4F28173907ACF30895E8
:040140000C9400001B
:100144000064000164000264000464000864001098
:100154006400206400016400026400046400086414
:10016400001064002064000164000364000764005C
:100174000F64001F64003F64003E64003C64003868
:100184006400306400206400013200003200013257
:10019400000032000132000032000132000032005F
:1001A4004032000032004032000032004032000091
:1001B40032004032000032000832000032000832BF
:1001C4000000320008320000320008320000320021
:00000001FF

View File

@@ -1,235 +0,0 @@
opdracht 2.4.elf: file format elf32-avr
Sections:
Idx Name Size VMA LMA File off Algn
0 .data 00000000 00800100 000001d4 00000248 2**0
ALLOC, LOAD, DATA
1 .text 000000ec 00000000 00000000 00000074 2**1
CONTENTS, ALLOC, LOAD, READONLY, CODE
2 .comment 0000002f 00000000 00000000 00000248 2**0
CONTENTS, READONLY
3 .debug_aranges 00000028 00000000 00000000 00000277 2**0
CONTENTS, READONLY, DEBUGGING
4 .debug_info 00000bac 00000000 00000000 0000029f 2**0
CONTENTS, READONLY, DEBUGGING
5 .debug_abbrev 00000854 00000000 00000000 00000e4b 2**0
CONTENTS, READONLY, DEBUGGING
6 .debug_line 000002b1 00000000 00000000 0000169f 2**0
CONTENTS, READONLY, DEBUGGING
7 .debug_frame 00000034 00000000 00000000 00001950 2**2
CONTENTS, READONLY, DEBUGGING
8 .debug_str 0000027d 00000000 00000000 00001984 2**0
CONTENTS, READONLY, DEBUGGING
9 .debug_loc 000000b2 00000000 00000000 00001c01 2**0
CONTENTS, READONLY, DEBUGGING
10 .debug_ranges 00000030 00000000 00000000 00001cb3 2**0
CONTENTS, READONLY, DEBUGGING
11 .text 00000004 00000140 00000140 000001b4 2**1
CONTENTS, ALLOC, LOAD, READONLY, CODE
12 .note.gnu.avr.deviceinfo 0000003c 00000000 00000000 00001ce4 2**2
CONTENTS, READONLY, DEBUGGING
13 .text.wait 0000001e 00000122 00000122 00000196 2**1
CONTENTS, ALLOC, LOAD, READONLY, CODE
14 .text.main 00000036 000000ec 000000ec 00000160 2**1
CONTENTS, ALLOC, LOAD, READONLY, CODE
15 .data.segments 00000090 00800100 00000144 000001b8 2**0
CONTENTS, ALLOC, LOAD, DATA
Disassembly of section .text:
00000000 <__vectors>:
0: 0c 94 4a 00 jmp 0x94 ; 0x94 <__ctors_end>
4: 0c 94 a0 00 jmp 0x140 ; 0x140 <__bad_interrupt>
8: 0c 94 a0 00 jmp 0x140 ; 0x140 <__bad_interrupt>
c: 0c 94 a0 00 jmp 0x140 ; 0x140 <__bad_interrupt>
10: 0c 94 a0 00 jmp 0x140 ; 0x140 <__bad_interrupt>
14: 0c 94 a0 00 jmp 0x140 ; 0x140 <__bad_interrupt>
18: 0c 94 a0 00 jmp 0x140 ; 0x140 <__bad_interrupt>
1c: 0c 94 a0 00 jmp 0x140 ; 0x140 <__bad_interrupt>
20: 0c 94 a0 00 jmp 0x140 ; 0x140 <__bad_interrupt>
24: 0c 94 a0 00 jmp 0x140 ; 0x140 <__bad_interrupt>
28: 0c 94 a0 00 jmp 0x140 ; 0x140 <__bad_interrupt>
2c: 0c 94 a0 00 jmp 0x140 ; 0x140 <__bad_interrupt>
30: 0c 94 a0 00 jmp 0x140 ; 0x140 <__bad_interrupt>
34: 0c 94 a0 00 jmp 0x140 ; 0x140 <__bad_interrupt>
38: 0c 94 a0 00 jmp 0x140 ; 0x140 <__bad_interrupt>
3c: 0c 94 a0 00 jmp 0x140 ; 0x140 <__bad_interrupt>
40: 0c 94 a0 00 jmp 0x140 ; 0x140 <__bad_interrupt>
44: 0c 94 a0 00 jmp 0x140 ; 0x140 <__bad_interrupt>
48: 0c 94 a0 00 jmp 0x140 ; 0x140 <__bad_interrupt>
4c: 0c 94 a0 00 jmp 0x140 ; 0x140 <__bad_interrupt>
50: 0c 94 a0 00 jmp 0x140 ; 0x140 <__bad_interrupt>
54: 0c 94 a0 00 jmp 0x140 ; 0x140 <__bad_interrupt>
58: 0c 94 a0 00 jmp 0x140 ; 0x140 <__bad_interrupt>
5c: 0c 94 a0 00 jmp 0x140 ; 0x140 <__bad_interrupt>
60: 0c 94 a0 00 jmp 0x140 ; 0x140 <__bad_interrupt>
64: 0c 94 a0 00 jmp 0x140 ; 0x140 <__bad_interrupt>
68: 0c 94 a0 00 jmp 0x140 ; 0x140 <__bad_interrupt>
6c: 0c 94 a0 00 jmp 0x140 ; 0x140 <__bad_interrupt>
70: 0c 94 a0 00 jmp 0x140 ; 0x140 <__bad_interrupt>
74: 0c 94 a0 00 jmp 0x140 ; 0x140 <__bad_interrupt>
78: 0c 94 a0 00 jmp 0x140 ; 0x140 <__bad_interrupt>
7c: 0c 94 a0 00 jmp 0x140 ; 0x140 <__bad_interrupt>
80: 0c 94 a0 00 jmp 0x140 ; 0x140 <__bad_interrupt>
84: 0c 94 a0 00 jmp 0x140 ; 0x140 <__bad_interrupt>
88: 0c 94 a0 00 jmp 0x140 ; 0x140 <__bad_interrupt>
0000008c <.dinit>:
8c: 01 00 .word 0x0001 ; ????
8e: 01 90 ld r0, Z+
90: 00 01 movw r0, r0
92: 44 00 .word 0x0044 ; ????
00000094 <__ctors_end>:
94: 11 24 eor r1, r1
96: 1f be out 0x3f, r1 ; 63
98: cf ef ldi r28, 0xFF ; 255
9a: d0 e1 ldi r29, 0x10 ; 16
9c: de bf out 0x3e, r29 ; 62
9e: cd bf out 0x3d, r28 ; 61
000000a0 <__do_copy_data>:
a0: ec e8 ldi r30, 0x8C ; 140
a2: f0 e0 ldi r31, 0x00 ; 0
a4: 40 e0 ldi r20, 0x00 ; 0
a6: 19 c0 rjmp .+50 ; 0xda <__do_clear_bss+0x8>
a8: b7 91 elpm r27, Z+
aa: a7 91 elpm r26, Z+
ac: 37 91 elpm r19, Z+
ae: 27 91 elpm r18, Z+
b0: 07 91 elpm r16, Z+
b2: 07 fd sbrc r16, 7
b4: 0e c0 rjmp .+28 ; 0xd2 <__do_clear_bss>
b6: 97 91 elpm r25, Z+
b8: 87 91 elpm r24, Z+
ba: ef 01 movw r28, r30
bc: f9 2f mov r31, r25
be: e8 2f mov r30, r24
c0: 0b bf out 0x3b, r16 ; 59
c2: 07 90 elpm r0, Z+
c4: 0d 92 st X+, r0
c6: a2 17 cp r26, r18
c8: b3 07 cpc r27, r19
ca: d9 f7 brne .-10 ; 0xc2 <__do_copy_data+0x22>
cc: fe 01 movw r30, r28
ce: 1b be out 0x3b, r1 ; 59
d0: 04 c0 rjmp .+8 ; 0xda <__do_clear_bss+0x8>
000000d2 <__do_clear_bss>:
d2: 1d 92 st X+, r1
d4: a2 17 cp r26, r18
d6: b3 07 cpc r27, r19
d8: e1 f7 brne .-8 ; 0xd2 <__do_clear_bss>
da: e3 39 cpi r30, 0x93 ; 147
dc: f4 07 cpc r31, r20
de: 21 f7 brne .-56 ; 0xa8 <__do_copy_data+0x8>
e0: 0e 94 76 00 call 0xec ; 0xec <_etext>
e4: 0c 94 74 00 jmp 0xe8 ; 0xe8 <_exit>
000000e8 <_exit>:
e8: f8 94 cli
000000ea <__stop_program>:
ea: ff cf rjmp .-2 ; 0xea <__stop_program>
Disassembly of section .text:
00000140 <__bad_interrupt>:
140: 0c 94 00 00 jmp 0 ; 0x0 <__vectors>
Disassembly of section .text.wait:
00000122 <wait>:
waits a specific amount of miliseconds */
/************************************************************************/
void wait( int ms )
{
for (int i=0; i<ms; i++)
122: 20 e0 ldi r18, 0x00 ; 0
124: 30 e0 ldi r19, 0x00 ; 0
126: 08 c0 rjmp .+16 ; 0x138 <wait+0x16>
#else
//round up by default
__ticks_dc = (uint32_t)(ceil(fabs(__tmp)));
#endif
__builtin_avr_delay_cycles(__ticks_dc);
128: e3 ec ldi r30, 0xC3 ; 195
12a: f9 e0 ldi r31, 0x09 ; 9
12c: 31 97 sbiw r30, 0x01 ; 1
12e: f1 f7 brne .-4 ; 0x12c <wait+0xa>
130: 00 c0 rjmp .+0 ; 0x132 <wait+0x10>
132: 00 00 nop
134: 2f 5f subi r18, 0xFF ; 255
136: 3f 4f sbci r19, 0xFF ; 255
138: 28 17 cp r18, r24
13a: 39 07 cpc r19, r25
13c: ac f3 brlt .-22 ; 0x128 <wait+0x6>
{
_delay_ms( 1 ); // library function (max 30 ms at 8MHz)
}
}
13e: 08 95 ret
Disassembly of section .text.main:
000000ec <main>:
int main( void )
{
DDRA = 0xFF; // set PORTA to all output
ec: 8f ef ldi r24, 0xFF ; 255
ee: 8a bb out 0x1a, r24 ; 26
while (1==1)
{
// Set index to begin of pattern array
int index = 0;
// loop through the array
for (int i = 0; i < sizeof(segments)/sizeof(segments[0]); i++)
f0: 00 e0 ldi r16, 0x00 ; 0
f2: 10 e0 ldi r17, 0x00 ; 0
while (1==1)
{
// Set index to begin of pattern array
int index = 0;
f4: c0 e0 ldi r28, 0x00 ; 0
f6: d0 e0 ldi r29, 0x00 ; 0
// loop through the array
for (int i = 0; i < sizeof(segments)/sizeof(segments[0]); i++)
f8: 10 c0 rjmp .+32 ; 0x11a <main+0x2e>
{
// Write data to PORTA
PORTA = segments[index].data;
fa: fe 01 movw r30, r28
fc: ee 0f add r30, r30
fe: ff 1f adc r31, r31
100: ec 0f add r30, r28
102: fd 1f adc r31, r29
104: e0 50 subi r30, 0x00 ; 0
106: ff 4f sbci r31, 0xFF ; 255
108: 80 81 ld r24, Z
10a: 8b bb out 0x1b, r24 ; 27
// wait
wait(segments[index].delay);
10c: 81 81 ldd r24, Z+1 ; 0x01
10e: 92 81 ldd r25, Z+2 ; 0x02
110: 0e 94 91 00 call 0x122 ; 0x122 <wait>
// increment for next round
index++;
114: 21 96 adiw r28, 0x01 ; 1
while (1==1)
{
// Set index to begin of pattern array
int index = 0;
// loop through the array
for (int i = 0; i < sizeof(segments)/sizeof(segments[0]); i++)
116: 0f 5f subi r16, 0xFF ; 255
118: 1f 4f sbci r17, 0xFF ; 255
11a: 00 33 cpi r16, 0x30 ; 48
11c: 11 05 cpc r17, r1
11e: 68 f3 brcs .-38 ; 0xfa <main+0xe>
120: e7 cf rjmp .-50 ; 0xf0 <main+0x4>

View File

@@ -0,0 +1,455 @@
Archive member included to satisfy reference by file (symbol)
c:/program files/microchip/xc8/v2.31/avr/bin/../lib/gcc/avr/5.4.0/avr51/memx-const\libgcc.a(_exit.o)
C:/Program Files (x86)/Atmel/Studio/7.0/Packs/atmel/ATmega_DFP/1.6.364/xc8/avr/lib/avr51/memx-const/crtatmega128.o (exit)
c:/program files/microchip/xc8/v2.31/avr/bin/../lib/gcc/avr/5.4.0/avr51/memx-const\libgcc.a(_copy_data.o)
main.o (__do_copy_data)
Discarded input sections
.data 0x0000000000000000 0x0 C:/Program Files (x86)/Atmel/Studio/7.0/Packs/atmel/ATmega_DFP/1.6.364/xc8/avr/lib/avr51/memx-const/crtatmega128.o
.bss 0x0000000000000000 0x0 C:/Program Files (x86)/Atmel/Studio/7.0/Packs/atmel/ATmega_DFP/1.6.364/xc8/avr/lib/avr51/memx-const/crtatmega128.o
.text 0x0000000000000000 0x0 main.o
.data 0x0000000000000000 0x0 main.o
.bss 0x0000000000000000 0x0 main.o
.text 0x0000000000000000 0x0 c:/program files/microchip/xc8/v2.31/avr/bin/../lib/gcc/avr/5.4.0/avr51/memx-const\libgcc.a(_exit.o)
.data 0x0000000000000000 0x0 c:/program files/microchip/xc8/v2.31/avr/bin/../lib/gcc/avr/5.4.0/avr51/memx-const\libgcc.a(_exit.o)
.bss 0x0000000000000000 0x0 c:/program files/microchip/xc8/v2.31/avr/bin/../lib/gcc/avr/5.4.0/avr51/memx-const\libgcc.a(_exit.o)
.text.libgcc.mul
0x0000000000000000 0x0 c:/program files/microchip/xc8/v2.31/avr/bin/../lib/gcc/avr/5.4.0/avr51/memx-const\libgcc.a(_exit.o)
.text.libgcc.div
0x0000000000000000 0x0 c:/program files/microchip/xc8/v2.31/avr/bin/../lib/gcc/avr/5.4.0/avr51/memx-const\libgcc.a(_exit.o)
.text.libgcc 0x0000000000000000 0x0 c:/program files/microchip/xc8/v2.31/avr/bin/../lib/gcc/avr/5.4.0/avr51/memx-const\libgcc.a(_exit.o)
.text.libgcc.prologue
0x0000000000000000 0x0 c:/program files/microchip/xc8/v2.31/avr/bin/../lib/gcc/avr/5.4.0/avr51/memx-const\libgcc.a(_exit.o)
.text.libgcc.builtins
0x0000000000000000 0x0 c:/program files/microchip/xc8/v2.31/avr/bin/../lib/gcc/avr/5.4.0/avr51/memx-const\libgcc.a(_exit.o)
.text.libgcc.fmul
0x0000000000000000 0x0 c:/program files/microchip/xc8/v2.31/avr/bin/../lib/gcc/avr/5.4.0/avr51/memx-const\libgcc.a(_exit.o)
.text.libgcc.fixed
0x0000000000000000 0x0 c:/program files/microchip/xc8/v2.31/avr/bin/../lib/gcc/avr/5.4.0/avr51/memx-const\libgcc.a(_exit.o)
.text 0x0000000000000000 0x0 c:/program files/microchip/xc8/v2.31/avr/bin/../lib/gcc/avr/5.4.0/avr51/memx-const\libgcc.a(_copy_data.o)
.data 0x0000000000000000 0x0 c:/program files/microchip/xc8/v2.31/avr/bin/../lib/gcc/avr/5.4.0/avr51/memx-const\libgcc.a(_copy_data.o)
.bss 0x0000000000000000 0x0 c:/program files/microchip/xc8/v2.31/avr/bin/../lib/gcc/avr/5.4.0/avr51/memx-const\libgcc.a(_copy_data.o)
.text.libgcc.mul
0x0000000000000000 0x0 c:/program files/microchip/xc8/v2.31/avr/bin/../lib/gcc/avr/5.4.0/avr51/memx-const\libgcc.a(_copy_data.o)
.text.libgcc.div
0x0000000000000000 0x0 c:/program files/microchip/xc8/v2.31/avr/bin/../lib/gcc/avr/5.4.0/avr51/memx-const\libgcc.a(_copy_data.o)
.text.libgcc 0x0000000000000000 0x0 c:/program files/microchip/xc8/v2.31/avr/bin/../lib/gcc/avr/5.4.0/avr51/memx-const\libgcc.a(_copy_data.o)
.text.libgcc.prologue
0x0000000000000000 0x0 c:/program files/microchip/xc8/v2.31/avr/bin/../lib/gcc/avr/5.4.0/avr51/memx-const\libgcc.a(_copy_data.o)
.text.libgcc.builtins
0x0000000000000000 0x0 c:/program files/microchip/xc8/v2.31/avr/bin/../lib/gcc/avr/5.4.0/avr51/memx-const\libgcc.a(_copy_data.o)
.text.libgcc.fmul
0x0000000000000000 0x0 c:/program files/microchip/xc8/v2.31/avr/bin/../lib/gcc/avr/5.4.0/avr51/memx-const\libgcc.a(_copy_data.o)
.text.libgcc.fixed
0x0000000000000000 0x0 c:/program files/microchip/xc8/v2.31/avr/bin/../lib/gcc/avr/5.4.0/avr51/memx-const\libgcc.a(_copy_data.o)
Memory Configuration
Name Origin Length Attributes
text 0x0000000000000000 0x0000000000020000 xr
data 0x0000000000800100 0x0000000000001000 rw !x
eeprom 0x0000000000810000 0x0000000000001000 rw !x
fuse 0x0000000000820000 0x0000000000000003 rw !x
lock 0x0000000000830000 0x0000000000000400 rw !x
signature 0x0000000000840000 0x0000000000000400 rw !x
user_signatures 0x0000000000850000 0x0000000000000400 rw !x
*default* 0x0000000000000000 0xffffffffffffffff
Linker script and memory map
Address of section .data set to 0x800100
LOAD C:/Program Files (x86)/Atmel/Studio/7.0/Packs/atmel/ATmega_DFP/1.6.364/xc8/avr/lib/avr51/memx-const/crtatmega128.o
LOAD main.o
START GROUP
LOAD c:/program files/microchip/xc8/v2.31/avr/bin/../lib/gcc/avr/5.4.0/../../../../avr/lib/avr51/memx-const\libm.a
END GROUP
START GROUP
LOAD c:/program files/microchip/xc8/v2.31/avr/bin/../lib/gcc/avr/5.4.0/avr51/memx-const\libgcc.a
LOAD c:/program files/microchip/xc8/v2.31/avr/bin/../lib/gcc/avr/5.4.0/../../../../avr/lib/avr51/memx-const\libm.a
LOAD c:/program files/microchip/xc8/v2.31/avr/bin/../lib/gcc/avr/5.4.0/../../../../avr/lib/avr51/memx-const\libc.a
LOAD C:/Program Files (x86)/Atmel/Studio/7.0/Packs/atmel/ATmega_DFP/1.6.364/xc8/avr/lib/avr51/memx-const\libatmega128.a
END GROUP
0x0000000000000000 __TEXT_REGION_ORIGIN__ = DEFINED (__TEXT_REGION_ORIGIN__)?__TEXT_REGION_ORIGIN__:0x0
[0x0000000000800100] __DATA_REGION_ORIGIN__ = DEFINED (__DATA_REGION_ORIGIN__)?__DATA_REGION_ORIGIN__:0x800100
[0x0000000000020000] __TEXT_REGION_LENGTH__ = DEFINED (__TEXT_REGION_LENGTH__)?__TEXT_REGION_LENGTH__:0x20000
[0x0000000000001000] __DATA_REGION_LENGTH__ = DEFINED (__DATA_REGION_LENGTH__)?__DATA_REGION_LENGTH__:0xff00
[0x0000000000001000] __EEPROM_REGION_LENGTH__ = DEFINED (__EEPROM_REGION_LENGTH__)?__EEPROM_REGION_LENGTH__:0x10000
[0x0000000000000003] __FUSE_REGION_LENGTH__ = DEFINED (__FUSE_REGION_LENGTH__)?__FUSE_REGION_LENGTH__:0x400
0x0000000000000400 __LOCK_REGION_LENGTH__ = DEFINED (__LOCK_REGION_LENGTH__)?__LOCK_REGION_LENGTH__:0x400
0x0000000000000400 __SIGNATURE_REGION_LENGTH__ = DEFINED (__SIGNATURE_REGION_LENGTH__)?__SIGNATURE_REGION_LENGTH__:0x400
0x0000000000000400 __USER_SIGNATURE_REGION_LENGTH__ = DEFINED (__USER_SIGNATURE_REGION_LENGTH__)?__USER_SIGNATURE_REGION_LENGTH__:0x400
.hash
*(.hash)
.dynsym
*(.dynsym)
.dynstr
*(.dynstr)
.gnu.version
*(.gnu.version)
.gnu.version_d
*(.gnu.version_d)
.gnu.version_r
*(.gnu.version_r)
.rel.init
*(.rel.init)
.rela.init
*(.rela.init)
.rel.text
*(.rel.text)
*(.rel.text.*)
*(.rel.gnu.linkonce.t*)
.rela.text
*(.rela.text)
*(.rela.text.*)
*(.rela.gnu.linkonce.t*)
.rel.fini
*(.rel.fini)
.rela.fini
*(.rela.fini)
.rel.rodata
*(.rel.rodata)
*(.rel.rodata.*)
*(.rel.gnu.linkonce.r*)
.rela.rodata
*(.rela.rodata)
*(.rela.rodata.*)
*(.rela.gnu.linkonce.r*)
.rel.data
*(.rel.data)
*(.rel.data.*)
*(.rel.gnu.linkonce.d*)
.rela.data
*(.rela.data)
*(.rela.data.*)
*(.rela.gnu.linkonce.d*)
.rel.ctors
*(.rel.ctors)
.rela.ctors
*(.rela.ctors)
.rel.dtors
*(.rel.dtors)
.rela.dtors
*(.rela.dtors)
.rel.got
*(.rel.got)
.rela.got
*(.rela.got)
.rel.bss
*(.rel.bss)
.rela.bss
*(.rela.bss)
.rel.plt
*(.rel.plt)
.rela.plt
*(.rela.plt)
.text 0x0000000000000000 0xec
*(.vectors)
.vectors 0x0000000000000000 0x8c C:/Program Files (x86)/Atmel/Studio/7.0/Packs/atmel/ATmega_DFP/1.6.364/xc8/avr/lib/avr51/memx-const/crtatmega128.o
0x0000000000000000 __vector_default
0x0000000000000000 __vectors
*(.vectors)
*(.progmem.gcc*)
*(.dinit)
.dinit 0x000000000000008c 0x7 data_init
0x0000000000000094 . = ALIGN (0x2)
*fill* 0x0000000000000093 0x1
0x0000000000000094 __trampolines_start = .
*(.trampolines)
.trampolines 0x0000000000000094 0x0 linker stubs
*(.trampolines*)
0x0000000000000094 __trampolines_end = .
*libprintf_flt.a:*(.progmem.data)
*libc.a:*(.progmem.data)
0x0000000000000094 . = ALIGN (0x2)
*(.jumptables)
*(.jumptables*)
*(.lowtext)
*(.lowtext*)
0x0000000000000094 __ctors_start = .
*(.ctors)
0x0000000000000094 __ctors_end = .
0x0000000000000094 __dtors_start = .
*(.dtors)
0x0000000000000094 __dtors_end = .
SORT(*)(.ctors)
SORT(*)(.dtors)
*(.init0)
.init0 0x0000000000000094 0x0 C:/Program Files (x86)/Atmel/Studio/7.0/Packs/atmel/ATmega_DFP/1.6.364/xc8/avr/lib/avr51/memx-const/crtatmega128.o
0x0000000000000094 __init
*(.init0)
*(.init1)
*(.init1)
*(.init2)
.init2 0x0000000000000094 0xc C:/Program Files (x86)/Atmel/Studio/7.0/Packs/atmel/ATmega_DFP/1.6.364/xc8/avr/lib/avr51/memx-const/crtatmega128.o
*(.init2)
*(.init3)
*(.init3)
*(.init4)
.init4 0x00000000000000a0 0x40 c:/program files/microchip/xc8/v2.31/avr/bin/../lib/gcc/avr/5.4.0/avr51/memx-const\libgcc.a(_copy_data.o)
0x00000000000000a0 __do_copy_data
0x00000000000000d2 __do_clear_bss
*(.init4)
*(.init5)
*(.init5)
*(.init6)
*(.init6)
*(.init7)
*(.init7)
*(.init8)
*(.init8)
*(.init9)
.init9 0x00000000000000e0 0x8 C:/Program Files (x86)/Atmel/Studio/7.0/Packs/atmel/ATmega_DFP/1.6.364/xc8/avr/lib/avr51/memx-const/crtatmega128.o
*(.init9)
0x00000000000000e8 . = ALIGN (0x2)
*(.fini9)
.fini9 0x00000000000000e8 0x0 c:/program files/microchip/xc8/v2.31/avr/bin/../lib/gcc/avr/5.4.0/avr51/memx-const\libgcc.a(_exit.o)
0x00000000000000e8 _exit
0x00000000000000e8 exit
*(.fini9)
*(.fini8)
*(.fini8)
*(.fini7)
*(.fini7)
*(.fini6)
*(.fini6)
*(.fini5)
*(.fini5)
*(.fini4)
*(.fini4)
*(.fini3)
*(.fini3)
*(.fini2)
*(.fini2)
*(.fini1)
*(.fini1)
*(.fini0)
.fini0 0x00000000000000e8 0x4 c:/program files/microchip/xc8/v2.31/avr/bin/../lib/gcc/avr/5.4.0/avr51/memx-const\libgcc.a(_exit.o)
*(.fini0)
0x00000000000000ec _etext = .
.data 0x0000000000800100 0x0 load address 0x00000000000000ec
[!provide] PROVIDE (__data_start, .)
*(.gnu.linkonce.d*)
*(.gnu.linkonce.r*)
0x0000000000800100 . = ALIGN (0x2)
0x0000000000800100 _edata = .
[!provide] PROVIDE (__data_end, .)
.bss 0x0000000000800100 0x0
[!provide] PROVIDE (__bss_start, .)
*(COMMON)
[!provide] PROVIDE (__bss_end, .)
0x00000000000000ec __data_load_start = LOADADDR (.data)
0x00000000000000ec __data_load_end = (__data_load_start + SIZEOF (.data))
.noinit 0x0000000000800100 0x0
[!provide] PROVIDE (__noinit_start, .)
*(.noinit*)
[!provide] PROVIDE (__noinit_end, .)
0x0000000000800100 _end = .
.eeprom 0x0000000000810000 0x0
*(.eeprom*)
0x0000000000810000 __eeprom_end = .
.fuse
*(.fuse)
*(.lfuse)
*(.hfuse)
*(.efuse)
.lock
*(.lock*)
.signature
*(.signature*)
.user_signatures
*(.user_signatures*)
.stab
*(.stab)
.stabstr
*(.stabstr)
.stab.excl
*(.stab.excl)
.stab.exclstr
*(.stab.exclstr)
.stab.index
*(.stab.index)
.stab.indexstr
*(.stab.indexstr)
.comment 0x0000000000000000 0x2f
*(.comment)
.comment 0x0000000000000000 0x2f main.o
0x30 (size before relaxing)
.note.gnu.build-id
*(.note.gnu.build-id)
.debug
*(.debug)
.line
*(.line)
.debug_srcinfo
*(.debug_srcinfo)
.debug_sfnames
*(.debug_sfnames)
.debug_aranges 0x0000000000000000 0x28
*(.debug_aranges)
.debug_aranges
0x0000000000000000 0x28 main.o
.debug_pubnames
*(.debug_pubnames)
.debug_info 0x0000000000000000 0xbac
*(.debug_info .gnu.linkonce.wi.*)
.debug_info 0x0000000000000000 0x780 C:/Program Files (x86)/Atmel/Studio/7.0/Packs/atmel/ATmega_DFP/1.6.364/xc8/avr/lib/avr51/memx-const/crtatmega128.o
.debug_info 0x0000000000000780 0x42c main.o
.debug_abbrev 0x0000000000000000 0x854
*(.debug_abbrev)
.debug_abbrev 0x0000000000000000 0x718 C:/Program Files (x86)/Atmel/Studio/7.0/Packs/atmel/ATmega_DFP/1.6.364/xc8/avr/lib/avr51/memx-const/crtatmega128.o
.debug_abbrev 0x0000000000000718 0x13c main.o
.debug_line 0x0000000000000000 0x2b1
*(.debug_line .debug_line.* .debug_line_end)
.debug_line 0x0000000000000000 0x16d C:/Program Files (x86)/Atmel/Studio/7.0/Packs/atmel/ATmega_DFP/1.6.364/xc8/avr/lib/avr51/memx-const/crtatmega128.o
.debug_line 0x000000000000016d 0x144 main.o
.debug_frame 0x0000000000000000 0x34
*(.debug_frame)
.debug_frame 0x0000000000000000 0x34 main.o
.debug_str 0x0000000000000000 0x27d
*(.debug_str)
.debug_str 0x0000000000000000 0x27d C:/Program Files (x86)/Atmel/Studio/7.0/Packs/atmel/ATmega_DFP/1.6.364/xc8/avr/lib/avr51/memx-const/crtatmega128.o
.debug_str 0x000000000000027d 0x0 main.o
.debug_loc 0x0000000000000000 0xb2
*(.debug_loc)
.debug_loc 0x0000000000000000 0xb2 main.o
.debug_macinfo
*(.debug_macinfo)
.debug_weaknames
*(.debug_weaknames)
.debug_funcnames
*(.debug_funcnames)
.debug_typenames
*(.debug_typenames)
.debug_varnames
*(.debug_varnames)
.debug_pubtypes
*(.debug_pubtypes)
.debug_ranges 0x0000000000000000 0x30
*(.debug_ranges)
.debug_ranges 0x0000000000000000 0x30 main.o
.debug_macro
*(.debug_macro)
OUTPUT(opdracht 2.4.elf elf32-avr)
LOAD linker stubs
LOAD data_init
.note.gnu.avr.deviceinfo
0x0000000000000000 0x3c
.note.gnu.avr.deviceinfo
0x0000000000000000 0x3c C:/Program Files (x86)/Atmel/Studio/7.0/Packs/atmel/ATmega_DFP/1.6.364/xc8/avr/lib/avr51/memx-const/crtatmega128.o
.text.main 0x00000000000000ec 0x36
.text.main 0x00000000000000ec 0x36 main.o
0x00000000000000ec main
.text.wait 0x0000000000000122 0x1e
.text.wait 0x0000000000000122 0x1e main.o
0x0000000000000122 wait
.text 0x0000000000000140 0x4
.text 0x0000000000000140 0x4 C:/Program Files (x86)/Atmel/Studio/7.0/Packs/atmel/ATmega_DFP/1.6.364/xc8/avr/lib/avr51/memx-const/crtatmega128.o
0x0000000000000140 __vector_22
0x0000000000000140 __vector_28
0x0000000000000140 __vector_1
0x0000000000000140 __vector_32
0x0000000000000140 __vector_34
0x0000000000000140 __vector_24
0x0000000000000140 __vector_12
0x0000000000000140 __bad_interrupt
0x0000000000000140 __vector_6
0x0000000000000140 __vector_31
0x0000000000000140 __vector_3
0x0000000000000140 __vector_23
0x0000000000000140 __vector_30
0x0000000000000140 __vector_25
0x0000000000000140 __vector_11
0x0000000000000140 __vector_13
0x0000000000000140 __vector_17
0x0000000000000140 __vector_19
0x0000000000000140 __vector_7
0x0000000000000140 __vector_27
0x0000000000000140 __vector_5
0x0000000000000140 __vector_33
0x0000000000000140 __vector_4
0x0000000000000140 __vector_9
0x0000000000000140 __vector_2
0x0000000000000140 __vector_21
0x0000000000000140 __vector_15
0x0000000000000140 __vector_29
0x0000000000000140 __vector_8
0x0000000000000140 __vector_26
0x0000000000000140 __vector_14
0x0000000000000140 __vector_10
0x0000000000000140 __vector_16
0x0000000000000140 __vector_18
0x0000000000000140 __vector_20
.data.segments 0x0000000000800100 0x90 load address 0x0000000000000144
.data.segments
0x0000000000800100 0x90 main.o
0x0000000000800100 segments