Tuer-Schild/Door/Debug/Door.lss
2014-11-16 17:10:00 +00:00

127 lines
4.7 KiB
Plaintext

Door.elf: file format elf32-avr
Sections:
Idx Name Size VMA LMA File off Algn
0 .data 00000000 00800100 000000b0 00000124 2**0
CONTENTS, ALLOC, LOAD, DATA
1 .text 000000b0 00000000 00000000 00000074 2**1
CONTENTS, ALLOC, LOAD, READONLY, CODE
2 .stab 000006cc 00000000 00000000 00000124 2**2
CONTENTS, READONLY, DEBUGGING
3 .stabstr 00000082 00000000 00000000 000007f0 2**0
CONTENTS, READONLY, DEBUGGING
4 .comment 0000002f 00000000 00000000 00000872 2**0
CONTENTS, READONLY
5 .debug_aranges 00000020 00000000 00000000 000008a1 2**0
CONTENTS, READONLY, DEBUGGING
6 .debug_info 0000011f 00000000 00000000 000008c1 2**0
CONTENTS, READONLY, DEBUGGING
7 .debug_abbrev 000000cf 00000000 00000000 000009e0 2**0
CONTENTS, READONLY, DEBUGGING
8 .debug_line 00000184 00000000 00000000 00000aaf 2**0
CONTENTS, READONLY, DEBUGGING
9 .debug_frame 00000024 00000000 00000000 00000c34 2**2
CONTENTS, READONLY, DEBUGGING
10 .debug_str 000000d4 00000000 00000000 00000c58 2**0
CONTENTS, READONLY, DEBUGGING
11 .debug_ranges 00000010 00000000 00000000 00000d2c 2**0
CONTENTS, READONLY, DEBUGGING
Disassembly of section .text:
00000000 <__vectors>:
0: 0c 94 34 00 jmp 0x68 ; 0x68 <__ctors_end>
4: 0c 94 3e 00 jmp 0x7c ; 0x7c <__bad_interrupt>
8: 0c 94 3e 00 jmp 0x7c ; 0x7c <__bad_interrupt>
c: 0c 94 3e 00 jmp 0x7c ; 0x7c <__bad_interrupt>
10: 0c 94 3e 00 jmp 0x7c ; 0x7c <__bad_interrupt>
14: 0c 94 3e 00 jmp 0x7c ; 0x7c <__bad_interrupt>
18: 0c 94 3e 00 jmp 0x7c ; 0x7c <__bad_interrupt>
1c: 0c 94 3e 00 jmp 0x7c ; 0x7c <__bad_interrupt>
20: 0c 94 3e 00 jmp 0x7c ; 0x7c <__bad_interrupt>
24: 0c 94 3e 00 jmp 0x7c ; 0x7c <__bad_interrupt>
28: 0c 94 3e 00 jmp 0x7c ; 0x7c <__bad_interrupt>
2c: 0c 94 3e 00 jmp 0x7c ; 0x7c <__bad_interrupt>
30: 0c 94 3e 00 jmp 0x7c ; 0x7c <__bad_interrupt>
34: 0c 94 3e 00 jmp 0x7c ; 0x7c <__bad_interrupt>
38: 0c 94 3e 00 jmp 0x7c ; 0x7c <__bad_interrupt>
3c: 0c 94 3e 00 jmp 0x7c ; 0x7c <__bad_interrupt>
40: 0c 94 3e 00 jmp 0x7c ; 0x7c <__bad_interrupt>
44: 0c 94 3e 00 jmp 0x7c ; 0x7c <__bad_interrupt>
48: 0c 94 3e 00 jmp 0x7c ; 0x7c <__bad_interrupt>
4c: 0c 94 3e 00 jmp 0x7c ; 0x7c <__bad_interrupt>
50: 0c 94 3e 00 jmp 0x7c ; 0x7c <__bad_interrupt>
54: 0c 94 3e 00 jmp 0x7c ; 0x7c <__bad_interrupt>
58: 0c 94 3e 00 jmp 0x7c ; 0x7c <__bad_interrupt>
5c: 0c 94 3e 00 jmp 0x7c ; 0x7c <__bad_interrupt>
60: 0c 94 3e 00 jmp 0x7c ; 0x7c <__bad_interrupt>
64: 0c 94 3e 00 jmp 0x7c ; 0x7c <__bad_interrupt>
00000068 <__ctors_end>:
68: 11 24 eor r1, r1
6a: 1f be out 0x3f, r1 ; 63
6c: cf ef ldi r28, 0xFF ; 255
6e: d4 e0 ldi r29, 0x04 ; 4
70: de bf out 0x3e, r29 ; 62
72: cd bf out 0x3d, r28 ; 61
74: 0e 94 40 00 call 0x80 ; 0x80 <main>
78: 0c 94 56 00 jmp 0xac ; 0xac <_exit>
0000007c <__bad_interrupt>:
7c: 0c 94 00 00 jmp 0 ; 0x0 <__vectors>
00000080 <main>:
int main(void)
{
//Init_AIN();
//Init_Output();
//Init_Timer();
DDRB |= (1<<PINB0) | (1<<PINB1);
80: 84 b1 in r24, 0x04 ; 4
82: 83 60 ori r24, 0x03 ; 3
84: 84 b9 out 0x04, r24 ; 4
PORTB |= (1<<PINB0);
86: 28 9a sbi 0x05, 0 ; 5
while(1)
{
PORTB ^= (1<<PINB0);
88: 21 e0 ldi r18, 0x01 ; 1
PORTB ^= (1<<PINB1);
8a: 92 e0 ldi r25, 0x02 ; 2
//Init_Timer();
DDRB |= (1<<PINB0) | (1<<PINB1);
PORTB |= (1<<PINB0);
while(1)
{
PORTB ^= (1<<PINB0);
8c: 85 b1 in r24, 0x05 ; 5
8e: 82 27 eor r24, r18
90: 85 b9 out 0x05, r24 ; 5
PORTB ^= (1<<PINB1);
92: 85 b1 in r24, 0x05 ; 5
94: 89 27 eor r24, r25
96: 85 b9 out 0x05, r24 ; 5
#else
//round up by default
__ticks_dc = (uint32_t)(ceil(fabs(__tmp)));
#endif
__builtin_avr_delay_cycles(__ticks_dc);
98: 3f e7 ldi r19, 0x7F ; 127
9a: 44 e8 ldi r20, 0x84 ; 132
9c: 8e e1 ldi r24, 0x1E ; 30
9e: 31 50 subi r19, 0x01 ; 1
a0: 40 40 sbci r20, 0x00 ; 0
a2: 80 40 sbci r24, 0x00 ; 0
a4: e1 f7 brne .-8 ; 0x9e <main+0x1e>
a6: 00 c0 rjmp .+0 ; 0xa8 <main+0x28>
a8: 00 00 nop
aa: f0 cf rjmp .-32 ; 0x8c <main+0xc>
000000ac <_exit>:
ac: f8 94 cli
000000ae <__stop_program>:
ae: ff cf rjmp .-2 ; 0xae <__stop_program>