105 lines
4.1 KiB
Plaintext
105 lines
4.1 KiB
Plaintext
|
|
Netzteil.elf: file format elf32-avr
|
|
|
|
Sections:
|
|
Idx Name Size VMA LMA File off Algn
|
|
0 .text 00000060 00000000 00000000 00000054 2**1
|
|
CONTENTS, ALLOC, LOAD, READONLY, CODE
|
|
1 .stab 000006b4 00000000 00000000 000000b4 2**2
|
|
CONTENTS, READONLY, DEBUGGING
|
|
2 .stabstr 00000085 00000000 00000000 00000768 2**0
|
|
CONTENTS, READONLY, DEBUGGING
|
|
3 .debug_aranges 00000020 00000000 00000000 000007ed 2**0
|
|
CONTENTS, READONLY, DEBUGGING
|
|
4 .debug_pubnames 0000001b 00000000 00000000 0000080d 2**0
|
|
CONTENTS, READONLY, DEBUGGING
|
|
5 .debug_info 00000196 00000000 00000000 00000828 2**0
|
|
CONTENTS, READONLY, DEBUGGING
|
|
6 .debug_abbrev 00000106 00000000 00000000 000009be 2**0
|
|
CONTENTS, READONLY, DEBUGGING
|
|
7 .debug_line 0000014f 00000000 00000000 00000ac4 2**0
|
|
CONTENTS, READONLY, DEBUGGING
|
|
8 .debug_frame 00000020 00000000 00000000 00000c14 2**2
|
|
CONTENTS, READONLY, DEBUGGING
|
|
9 .debug_str 000000f6 00000000 00000000 00000c34 2**0
|
|
CONTENTS, READONLY, DEBUGGING
|
|
10 .debug_pubtypes 00000038 00000000 00000000 00000d2a 2**0
|
|
CONTENTS, READONLY, DEBUGGING
|
|
|
|
Disassembly of section .text:
|
|
|
|
00000000 <__vectors>:
|
|
0: 10 c0 rjmp .+32 ; 0x22 <__ctors_end>
|
|
2: 15 c0 rjmp .+42 ; 0x2e <__bad_interrupt>
|
|
4: 14 c0 rjmp .+40 ; 0x2e <__bad_interrupt>
|
|
6: 13 c0 rjmp .+38 ; 0x2e <__bad_interrupt>
|
|
8: 12 c0 rjmp .+36 ; 0x2e <__bad_interrupt>
|
|
a: 11 c0 rjmp .+34 ; 0x2e <__bad_interrupt>
|
|
c: 10 c0 rjmp .+32 ; 0x2e <__bad_interrupt>
|
|
e: 0f c0 rjmp .+30 ; 0x2e <__bad_interrupt>
|
|
10: 0e c0 rjmp .+28 ; 0x2e <__bad_interrupt>
|
|
12: 0d c0 rjmp .+26 ; 0x2e <__bad_interrupt>
|
|
14: 0c c0 rjmp .+24 ; 0x2e <__bad_interrupt>
|
|
16: 0b c0 rjmp .+22 ; 0x2e <__bad_interrupt>
|
|
18: 0a c0 rjmp .+20 ; 0x2e <__bad_interrupt>
|
|
1a: 09 c0 rjmp .+18 ; 0x2e <__bad_interrupt>
|
|
1c: 08 c0 rjmp .+16 ; 0x2e <__bad_interrupt>
|
|
1e: 07 c0 rjmp .+14 ; 0x2e <__bad_interrupt>
|
|
20: 06 c0 rjmp .+12 ; 0x2e <__bad_interrupt>
|
|
|
|
00000022 <__ctors_end>:
|
|
22: 11 24 eor r1, r1
|
|
24: 1f be out 0x3f, r1 ; 63
|
|
26: cf ed ldi r28, 0xDF ; 223
|
|
28: cd bf out 0x3d, r28 ; 61
|
|
2a: 02 d0 rcall .+4 ; 0x30 <main>
|
|
2c: 17 c0 rjmp .+46 ; 0x5c <_exit>
|
|
|
|
0000002e <__bad_interrupt>:
|
|
2e: e8 cf rjmp .-48 ; 0x0 <__vectors>
|
|
|
|
00000030 <main>:
|
|
#include <avr/io.h>
|
|
#include <util/delay.h>
|
|
|
|
int main(void) {
|
|
DDRA |= (1<<PA7);
|
|
30: d7 9a sbi 0x1a, 7 ; 26
|
|
while(1) {
|
|
PORTA |= (1<<PA7);
|
|
32: df 9a sbi 0x1b, 7 ; 27
|
|
#else
|
|
//round up by default
|
|
__ticks_dc = (uint32_t)(ceil(fabs(__tmp)));
|
|
#endif
|
|
|
|
__builtin_avr_delay_cycles(__ticks_dc);
|
|
34: 8f ef ldi r24, 0xFF ; 255
|
|
36: 94 e3 ldi r25, 0x34 ; 52
|
|
38: ac e0 ldi r26, 0x0C ; 12
|
|
3a: 81 50 subi r24, 0x01 ; 1
|
|
3c: 90 40 sbci r25, 0x00 ; 0
|
|
3e: a0 40 sbci r26, 0x00 ; 0
|
|
40: e1 f7 brne .-8 ; 0x3a <__CCP__+0x6>
|
|
42: 00 c0 rjmp .+0 ; 0x44 <__SREG__+0x5>
|
|
44: 00 00 nop
|
|
_delay_ms(500);
|
|
PORTA &= ~(1<<PA7);
|
|
46: df 98 cbi 0x1b, 7 ; 27
|
|
48: 8f ef ldi r24, 0xFF ; 255
|
|
4a: 94 e3 ldi r25, 0x34 ; 52
|
|
4c: ac e0 ldi r26, 0x0C ; 12
|
|
4e: 81 50 subi r24, 0x01 ; 1
|
|
50: 90 40 sbci r25, 0x00 ; 0
|
|
52: a0 40 sbci r26, 0x00 ; 0
|
|
54: e1 f7 brne .-8 ; 0x4e <__SREG__+0xf>
|
|
56: 00 c0 rjmp .+0 ; 0x58 <__SREG__+0x19>
|
|
58: 00 00 nop
|
|
5a: eb cf rjmp .-42 ; 0x32 <main+0x2>
|
|
|
|
0000005c <_exit>:
|
|
5c: f8 94 cli
|
|
|
|
0000005e <__stop_program>:
|
|
5e: ff cf rjmp .-2 ; 0x5e <__stop_program>
|