Zeitschaltung/V6/Program/rfm12_rs232/Zeitschaltung_V6/Debug/Zeitschaltung_V6.lss

1353 lines
50 KiB
Plaintext
Raw Normal View History

2014-05-21 18:10:07 +02:00
Zeitschaltung_V6.elf: file format elf32-avr
Sections:
Idx Name Size VMA LMA File off Algn
0 .text 00000836 00000000 00000000 00000074 2**1
CONTENTS, ALLOC, LOAD, READONLY, CODE
1 .data 00000016 00800060 00000836 000008aa 2**0
CONTENTS, ALLOC, LOAD, DATA
2 .stab 00000c84 00000000 00000000 000008c0 2**2
CONTENTS, READONLY, DEBUGGING
3 .stabstr 000001aa 00000000 00000000 00001544 2**0
CONTENTS, READONLY, DEBUGGING
4 .comment 0000002f 00000000 00000000 000016ee 2**0
CONTENTS, READONLY
5 .debug_aranges 000000b0 00000000 00000000 0000171d 2**0
CONTENTS, READONLY, DEBUGGING
6 .debug_info 0000250c 00000000 00000000 000017cd 2**0
CONTENTS, READONLY, DEBUGGING
7 .debug_abbrev 00000801 00000000 00000000 00003cd9 2**0
CONTENTS, READONLY, DEBUGGING
8 .debug_line 00000861 00000000 00000000 000044da 2**0
CONTENTS, READONLY, DEBUGGING
9 .debug_frame 00000168 00000000 00000000 00004d3c 2**2
CONTENTS, READONLY, DEBUGGING
10 .debug_str 0000128b 00000000 00000000 00004ea4 2**0
CONTENTS, READONLY, DEBUGGING
11 .debug_loc 00000891 00000000 00000000 0000612f 2**0
CONTENTS, READONLY, DEBUGGING
12 .debug_ranges 00000070 00000000 00000000 000069c0 2**0
CONTENTS, READONLY, DEBUGGING
Disassembly of section .text:
00000000 <__vectors>:
0: 0c 94 2b 00 jmp 0x56 ; 0x56 <__ctors_end>
4: 0c 94 53 00 jmp 0xa6 ; 0xa6 <__bad_interrupt>
8: 0c 94 53 00 jmp 0xa6 ; 0xa6 <__bad_interrupt>
c: 0c 94 53 00 jmp 0xa6 ; 0xa6 <__bad_interrupt>
10: 0c 94 53 00 jmp 0xa6 ; 0xa6 <__bad_interrupt>
14: 0c 94 53 00 jmp 0xa6 ; 0xa6 <__bad_interrupt>
18: 0c 94 53 00 jmp 0xa6 ; 0xa6 <__bad_interrupt>
1c: 0c 94 53 00 jmp 0xa6 ; 0xa6 <__bad_interrupt>
20: 0c 94 53 00 jmp 0xa6 ; 0xa6 <__bad_interrupt>
24: 0c 94 53 00 jmp 0xa6 ; 0xa6 <__bad_interrupt>
28: 0c 94 53 00 jmp 0xa6 ; 0xa6 <__bad_interrupt>
2c: 0c 94 53 00 jmp 0xa6 ; 0xa6 <__bad_interrupt>
30: 0c 94 53 00 jmp 0xa6 ; 0xa6 <__bad_interrupt>
34: 0c 94 53 00 jmp 0xa6 ; 0xa6 <__bad_interrupt>
38: 0c 94 53 00 jmp 0xa6 ; 0xa6 <__bad_interrupt>
3c: 0c 94 53 00 jmp 0xa6 ; 0xa6 <__bad_interrupt>
40: 0c 94 53 00 jmp 0xa6 ; 0xa6 <__bad_interrupt>
44: 0c 94 53 00 jmp 0xa6 ; 0xa6 <__bad_interrupt>
48: 0c 94 53 00 jmp 0xa6 ; 0xa6 <__bad_interrupt>
4c: 0c 94 53 00 jmp 0xa6 ; 0xa6 <__bad_interrupt>
50: 0c 94 53 00 jmp 0xa6 ; 0xa6 <__bad_interrupt>
00000054 <__ctors_start>:
54: f2 00 .word 0x00f2 ; ????
00000056 <__ctors_end>:
56: 11 24 eor r1, r1
58: 1f be out 0x3f, r1 ; 63
5a: cf e5 ldi r28, 0x5F ; 95
5c: d4 e0 ldi r29, 0x04 ; 4
5e: de bf out 0x3e, r29 ; 62
60: cd bf out 0x3d, r28 ; 61
00000062 <__do_copy_data>:
62: 10 e0 ldi r17, 0x00 ; 0
64: a0 e6 ldi r26, 0x60 ; 96
66: b0 e0 ldi r27, 0x00 ; 0
68: e6 e3 ldi r30, 0x36 ; 54
6a: f8 e0 ldi r31, 0x08 ; 8
6c: 02 c0 rjmp .+4 ; 0x72 <__do_copy_data+0x10>
6e: 05 90 lpm r0, Z+
70: 0d 92 st X+, r0
72: a6 37 cpi r26, 0x76 ; 118
74: b1 07 cpc r27, r17
76: d9 f7 brne .-10 ; 0x6e <__do_copy_data+0xc>
00000078 <__do_clear_bss>:
78: 20 e0 ldi r18, 0x00 ; 0
7a: a6 e7 ldi r26, 0x76 ; 118
7c: b0 e0 ldi r27, 0x00 ; 0
7e: 01 c0 rjmp .+2 ; 0x82 <.do_clear_bss_start>
00000080 <.do_clear_bss_loop>:
80: 1d 92 st X+, r1
00000082 <.do_clear_bss_start>:
82: a6 37 cpi r26, 0x76 ; 118
84: b2 07 cpc r27, r18
86: e1 f7 brne .-8 ; 0x80 <.do_clear_bss_loop>
00000088 <__do_global_ctors>:
88: 10 e0 ldi r17, 0x00 ; 0
8a: c6 e5 ldi r28, 0x56 ; 86
8c: d0 e0 ldi r29, 0x00 ; 0
8e: 04 c0 rjmp .+8 ; 0x98 <__do_global_ctors+0x10>
90: 22 97 sbiw r28, 0x02 ; 2
92: fe 01 movw r30, r28
94: 0e 94 40 01 call 0x280 ; 0x280 <__tablejump__>
98: c4 35 cpi r28, 0x54 ; 84
9a: d1 07 cpc r29, r17
9c: c9 f7 brne .-14 ; 0x90 <__do_global_ctors+0x8>
9e: 0e 94 a0 00 call 0x140 ; 0x140 <main>
a2: 0c 94 19 04 jmp 0x832 ; 0x832 <_exit>
000000a6 <__bad_interrupt>:
a6: 0c 94 00 00 jmp 0 ; 0x0 <__vectors>
000000aa <_ZN4UartILm9600EE4sendEPKc.isra.5>:
Uart() {
sei();
init();
send("Uart done!\r\n");
}
void send(const char *text) {
aa: fc 01 movw r30, r24
ac: 03 c0 rjmp .+6 ; 0xb4 <_ZN4UartILm9600EE4sendEPKc.isra.5+0xa>
UBRRL = (F_CPU / (baudrate * 16L) - 1); //Teiler wird gesetzt
UCSRB = /*(1<<RXEN1) | (1<<RXCIE1) | */ (1<<TXEN); //Enable TXEN im Register UCR TX-Data Enable
UCSRC = (1<<URSEL) | (3<<UCSZ0); //8N1
}
uint8_t uart_putchar(uint8_t c) {
loop_until_bit_is_set(UCSRA, UDRE); //Ausgabe des Zeichens
ae: 5d 9b sbis 0x0b, 5 ; 11
b0: fe cf rjmp .-4 ; 0xae <_ZN4UartILm9600EE4sendEPKc.isra.5+0x4>
UDR = c;
b2: 8c b9 out 0x0c, r24 ; 12
sei();
init();
send("Uart done!\r\n");
}
void send(const char *text) {
while (*text)
b4: 81 91 ld r24, Z+
b6: 81 11 cpse r24, r1
b8: fa cf rjmp .-12 ; 0xae <_ZN4UartILm9600EE4sendEPKc.isra.5+0x4>
{
uart_putchar(*text);
text++;
}
}
ba: 08 95 ret
000000bc <_ZN6avrlib3pinINS_5portcELh3EE6outputEb.part.7>:
static uint8_t pin() { return PINC; }
static void pin(uint8_t v) { PINC = v; }
static uint8_t dir() { return DDRC; }
static void dir(uint8_t v) { DDRC = v; }
bc: a3 9a sbi 0x14, 3 ; 20
be: 08 95 ret
000000c0 <_ZN6avrlib3pinINS_5portcELh3EE3setEb.part.9>:
namespace avrlib {
struct portc
{
static uint8_t port() { return PORTC; }
static void port(uint8_t v) { PORTC = v; }
c0: ab 9a sbi 0x15, 3 ; 21
c2: 08 95 ret
000000c4 <_ZN3SpiIN6avrlib5portcELi3ELi4ELi1ELi2ELi1EE9send_softEh.isra.17>:
}
void init_spi() {
SPCR = (1<<SPE) | (1<<MSTR);
SPSR = (1<<SPI2X);
}
uint8_t send_soft(uint8_t data) {
c4: 28 2f mov r18, r24
c6: 98 e0 ldi r25, 0x08 ; 8
uint8_t datain=0;
c8: 80 e0 ldi r24, 0x00 ; 0
for (uint8_t i=0; i<8; i++)
{
if (data & 0x80) {
ca: 27 ff sbrs r18, 7
cc: 02 c0 rjmp .+4 ; 0xd2 <_ZN3SpiIN6avrlib5portcELi3ELi4ELi1ELi2ELi1EE9send_softEh.isra.17+0xe>
ce: a9 9a sbi 0x15, 1 ; 21
d0: 01 c0 rjmp .+2 ; 0xd4 <_ZN3SpiIN6avrlib5portcELi3ELi4ELi1ELi2ELi1EE9send_softEh.isra.17+0x10>
d2: a9 98 cbi 0x15, 1 ; 21
static uint8_t pin() { return PINC; }
static void pin(uint8_t v) { PINC = v; }
static uint8_t dir() { return DDRC; }
static void dir(uint8_t v) { DDRC = v; }
d4: a1 9a sbi 0x14, 1 ; 20
mosi::make_high();
}
else {
mosi::make_low();
}
datain <<= 1;
d6: 88 0f add r24, r24
if(miso::read()) {
d8: 9c 99 sbic 0x13, 4 ; 19
datain |= 1;
da: 81 60 ori r24, 0x01 ; 1
namespace avrlib {
struct portc
{
static uint8_t port() { return PORTC; }
static void port(uint8_t v) { PORTC = v; }
dc: aa 9a sbi 0x15, 2 ; 21
static uint8_t pin() { return PINC; }
static void pin(uint8_t v) { PINC = v; }
static uint8_t dir() { return DDRC; }
static void dir(uint8_t v) { DDRC = v; }
de: a2 9a sbi 0x14, 2 ; 20
}
sck::make_high();
data<<=1;
e0: 22 0f add r18, r18
#else
//round up by default
__ticks_dc = (uint32_t)(ceil(fabs(__tmp)));
#endif
__builtin_avr_delay_cycles(__ticks_dc);
e2: 00 c0 rjmp .+0 ; 0xe4 <_ZN3SpiIN6avrlib5portcELi3ELi4ELi1ELi2ELi1EE9send_softEh.isra.17+0x20>
e4: 00 00 nop
namespace avrlib {
struct portc
{
static uint8_t port() { return PORTC; }
static void port(uint8_t v) { PORTC = v; }
e6: aa 98 cbi 0x15, 2 ; 21
static uint8_t pin() { return PINC; }
static void pin(uint8_t v) { PINC = v; }
static uint8_t dir() { return DDRC; }
static void dir(uint8_t v) { DDRC = v; }
e8: a2 9a sbi 0x14, 2 ; 20
ea: 91 50 subi r25, 0x01 ; 1
SPCR = (1<<SPE) | (1<<MSTR);
SPSR = (1<<SPI2X);
}
uint8_t send_soft(uint8_t data) {
uint8_t datain=0;
for (uint8_t i=0; i<8; i++)
ec: 71 f7 brne .-36 ; 0xca <_ZN3SpiIN6avrlib5portcELi3ELi4ELi1ELi2ELi1EE9send_softEh.isra.17+0x6>
data<<=1;
_delay_us(0.3);
sck::make_low();
}
return datain;
}
ee: 08 95 ret
000000f0 <_ZN5Rfm12I3SpiIN6avrlib5portcELi3ELi4ELi1ELi2ELi1EELh1ELh0ELh7ELm433920ELj9600ELh0ELh6EE4sendEj.isra.19>:
this->send(0x8208); // TX off
_delay_ms(100);
}
private:
Spi s;
uint16_t send(uint16_t wert) {
f0: ef 92 push r14
f2: ff 92 push r15
f4: 1f 93 push r17
f6: cf 93 push r28
f8: df 93 push r29
fa: 00 d0 rcall .+0 ; 0xfc <_ZN5Rfm12I3SpiIN6avrlib5portcELi3ELi4ELi1ELi2ELi1EELh1ELh0ELh7ELm433920ELj9600ELh0ELh6EE4sendEj.isra.19+0xc>
fc: cd b7 in r28, 0x3d ; 61
fe: de b7 in r29, 0x3e ; 62
100: 18 2f mov r17, r24
namespace avrlib {
struct portc
{
static uint8_t port() { return PORTC; }
static void port(uint8_t v) { PORTC = v; }
102: ab 98 cbi 0x15, 3 ; 21
104: 9a 83 std Y+2, r25 ; 0x02
106: 0e 94 5e 00 call 0xbc ; 0xbc <_ZN6avrlib3pinINS_5portcELh3EE6outputEb.part.7>
}
uint8_t send(uint8_t data) {
if(mode == 0) {
return this->send_hard(data);
}
return this->send_soft(data);
10a: 8a 81 ldd r24, Y+2 ; 0x02
10c: 0e 94 62 00 call 0xc4 ; 0xc4 <_ZN3SpiIN6avrlib5portcELi3ELi4ELi1ELi2ELi1EE9send_softEh.isra.17>
s.CSOn();
uint16_t werti = s.send((uint8_t)(wert >> 8)) << 8;
110: f8 2e mov r15, r24
112: e1 2c mov r14, r1
114: 81 2f mov r24, r17
116: 0e 94 62 00 call 0xc4 ; 0xc4 <_ZN3SpiIN6avrlib5portcELi3ELi4ELi1ELi2ELi1EE9send_softEh.isra.17>
werti |= s.send((uint8_t)wert);
11a: 97 01 movw r18, r14
11c: 28 2b or r18, r24
11e: c9 01 movw r24, r18
120: 8a 83 std Y+2, r24 ; 0x02
122: 99 83 std Y+1, r25 ; 0x01
124: 0e 94 60 00 call 0xc0 ; 0xc0 <_ZN6avrlib3pinINS_5portcELh3EE3setEb.part.9>
128: 0e 94 5e 00 call 0xbc ; 0xbc <_ZN6avrlib3pinINS_5portcELh3EE6outputEb.part.7>
s.CSOff();
return werti;
}
12c: 8a 81 ldd r24, Y+2 ; 0x02
12e: 99 81 ldd r25, Y+1 ; 0x01
130: 0f 90 pop r0
132: 0f 90 pop r0
134: df 91 pop r29
136: cf 91 pop r28
138: 1f 91 pop r17
13a: ff 90 pop r15
13c: ef 90 pop r14
13e: 08 95 ret
00000140 <main>:
ledclass l;
uartclass text;
rfm12class r;
int main(void) {
140: cf 93 push r28
142: df 93 push r29
144: cd b7 in r28, 0x3d ; 61
146: de b7 in r29, 0x3e ; 62
148: 2a 97 sbiw r28, 0x0a ; 10
14a: 0f b6 in r0, 0x3f ; 63
14c: f8 94 cli
14e: de bf out 0x3e, r29 ; 62
150: 0f be out 0x3f, r0 ; 63
152: cd bf out 0x3d, r28 ; 61
s.CSOn();
while(s.has_data()); // wait until FIFO ready
}
void beginasyncrx() {
this->send(0x82C8); // RX on
154: 88 ec ldi r24, 0xC8 ; 200
156: 92 e8 ldi r25, 0x82 ; 130
158: 0e 94 78 00 call 0xf0 ; 0xf0 <_ZN5Rfm12I3SpiIN6avrlib5portcELi3ELi4ELi1ELi2ELi1EELh1ELh0ELh7ELm433920ELj9600ELh0ELh6EE4sendEj.isra.19>
this->send(0xCA81); // set FIFO mode
15c: 81 e8 ldi r24, 0x81 ; 129
15e: 9a ec ldi r25, 0xCA ; 202
160: 0e 94 78 00 call 0xf0 ; 0xf0 <_ZN5Rfm12I3SpiIN6avrlib5portcELi3ELi4ELi1ELi2ELi1EELh1ELh0ELh7ELm433920ELj9600ELh0ELh6EE4sendEj.isra.19>
this->send(0xCA83); // enable FIFO
164: 83 e8 ldi r24, 0x83 ; 131
166: 9a ec ldi r25, 0xCA ; 202
168: 0e 94 78 00 call 0xf0 ; 0xf0 <_ZN5Rfm12I3SpiIN6avrlib5portcELi3ELi4ELi1ELi2ELi1EELh1ELh0ELh7ELm433920ELj9600ELh0ELh6EE4sendEj.isra.19>
_delay_ms(100);
text.send("\r\n");
}
uint8_t data = r.rxbyte();
char t[10];
sprintf(t, "%04X \r\n", data);
16c: 80 e6 ldi r24, 0x60 ; 96
16e: e8 2e mov r14, r24
170: 80 e0 ldi r24, 0x00 ; 0
172: f8 2e mov r15, r24
174: 8e 01 movw r16, r28
176: 0f 5f subi r16, 0xFF ; 255
178: 1f 4f sbci r17, 0xFF ; 255
17a: 18 c0 rjmp .+48 ; 0x1ac <main+0x6c>
17c: a8 9a sbi 0x15, 0 ; 21
#else
//round up by default
__ticks_dc = (uint32_t)(ceil(fabs(__tmp)));
#endif
__builtin_avr_delay_cycles(__ticks_dc);
17e: 2f ef ldi r18, 0xFF ; 255
180: 80 e7 ldi r24, 0x70 ; 112
182: 92 e0 ldi r25, 0x02 ; 2
184: 21 50 subi r18, 0x01 ; 1
186: 80 40 sbci r24, 0x00 ; 0
188: 90 40 sbci r25, 0x00 ; 0
18a: e1 f7 brne .-8 ; 0x184 <main+0x44>
18c: 00 c0 rjmp .+0 ; 0x18e <main+0x4e>
18e: 00 00 nop
190: a8 98 cbi 0x15, 0 ; 21
192: 2f ef ldi r18, 0xFF ; 255
194: 80 e7 ldi r24, 0x70 ; 112
196: 92 e0 ldi r25, 0x02 ; 2
198: 21 50 subi r18, 0x01 ; 1
19a: 80 40 sbci r24, 0x00 ; 0
19c: 90 40 sbci r25, 0x00 ; 0
19e: e1 f7 brne .-8 ; 0x198 <main+0x58>
1a0: 00 c0 rjmp .+0 ; 0x1a2 <main+0x62>
1a2: 00 00 nop
while(r.hasdata()) {
l.on();
_delay_ms(100);
l.off();
_delay_ms(100);
text.send("\r\n");
1a4: 85 e6 ldi r24, 0x65 ; 101
1a6: 90 e0 ldi r25, 0x00 ; 0
1a8: 0e 94 55 00 call 0xaa ; 0xaa <_ZN4UartILm9600EE4sendEPKc.isra.5>
1ac: ab 98 cbi 0x15, 3 ; 21
1ae: 0e 94 5e 00 call 0xbc ; 0xbc <_ZN6avrlib3pinINS_5portcELh3EE6outputEb.part.7>
int main(void) {
r.beginasyncrx();
while(1)
{
while(r.hasdata()) {
1b2: 9c 9b sbis 0x13, 4 ; 19
1b4: e3 cf rjmp .-58 ; 0x17c <main+0x3c>
s.CSOn();
return s.has_data();
}
uint8_t rxbyte() {
return this->send(0xB000);
1b6: 80 e0 ldi r24, 0x00 ; 0
1b8: 90 eb ldi r25, 0xB0 ; 176
1ba: 0e 94 78 00 call 0xf0 ; 0xf0 <_ZN5Rfm12I3SpiIN6avrlib5portcELi3ELi4ELi1ELi2ELi1EELh1ELh0ELh7ELm433920ELj9600ELh0ELh6EE4sendEj.isra.19>
ledclass l;
uartclass text;
rfm12class r;
int main(void) {
1be: 99 27 eor r25, r25
_delay_ms(100);
text.send("\r\n");
}
uint8_t data = r.rxbyte();
char t[10];
sprintf(t, "%04X \r\n", data);
1c0: 9f 93 push r25
1c2: 8f 93 push r24
1c4: ff 92 push r15
1c6: ef 92 push r14
1c8: 1f 93 push r17
1ca: 0f 93 push r16
1cc: 0e 94 44 01 call 0x288 ; 0x288 <sprintf>
text.send(t);
1d0: c8 01 movw r24, r16
1d2: 0e 94 55 00 call 0xaa ; 0xaa <_ZN4UartILm9600EE4sendEPKc.isra.5>
uartclass text;
rfm12class r;
int main(void) {
r.beginasyncrx();
while(1)
1d6: 0f 90 pop r0
1d8: 0f 90 pop r0
1da: 0f 90 pop r0
1dc: 0f 90 pop r0
1de: 0f 90 pop r0
1e0: 0f 90 pop r0
1e2: e4 cf rjmp .-56 ; 0x1ac <main+0x6c>
000001e4 <_GLOBAL__sub_I_l>:
static uint8_t pin() { return PINC; }
static void pin(uint8_t v) { PINC = v; }
static uint8_t dir() { return DDRC; }
static void dir(uint8_t v) { DDRC = v; }
1e4: a0 9a sbi 0x14, 0 ; 20
namespace avrlib {
struct portc
{
static uint8_t port() { return PORTC; }
static void port(uint8_t v) { PORTC = v; }
1e6: a8 98 cbi 0x15, 0 ; 21
template <uint32_t baudrate>
class Uart {
public:
Uart() {
sei();
1e8: 78 94 sei
void send(uint8_t wert) {
uart_putchar(wert);
}
private:
void init() {
UBRRL = (F_CPU / (baudrate * 16L) - 1); //Teiler wird gesetzt
1ea: 83 e3 ldi r24, 0x33 ; 51
1ec: 89 b9 out 0x09, r24 ; 9
UCSRB = /*(1<<RXEN1) | (1<<RXCIE1) | */ (1<<TXEN); //Enable TXEN im Register UCR TX-Data Enable
1ee: 88 e0 ldi r24, 0x08 ; 8
1f0: 8a b9 out 0x0a, r24 ; 10
UCSRC = (1<<URSEL) | (3<<UCSZ0); //8N1
1f2: 86 e8 ldi r24, 0x86 ; 134
1f4: 80 bd out 0x20, r24 ; 32
class Uart {
public:
Uart() {
sei();
init();
send("Uart done!\r\n");
1f6: 88 e6 ldi r24, 0x68 ; 104
1f8: 90 e0 ldi r25, 0x00 ; 0
1fa: 0e 94 55 00 call 0xaa ; 0xaa <_ZN4UartILm9600EE4sendEPKc.isra.5>
1fe: a9 98 cbi 0x15, 1 ; 21
static uint8_t pin() { return PINC; }
static void pin(uint8_t v) { PINC = v; }
static uint8_t dir() { return DDRC; }
static void dir(uint8_t v) { DDRC = v; }
200: a1 9a sbi 0x14, 1 ; 20
namespace avrlib {
struct portc
{
static uint8_t port() { return PORTC; }
static void port(uint8_t v) { PORTC = v; }
202: aa 98 cbi 0x15, 2 ; 21
static uint8_t pin() { return PINC; }
static void pin(uint8_t v) { PINC = v; }
static uint8_t dir() { return DDRC; }
static void dir(uint8_t v) { DDRC = v; }
204: a2 9a sbi 0x14, 2 ; 20
206: 0e 94 60 00 call 0xc0 ; 0xc0 <_ZN6avrlib3pinINS_5portcELh3EE3setEb.part.9>
20a: 0e 94 5e 00 call 0xbc ; 0xbc <_ZN6avrlib3pinINS_5portcELh3EE6outputEb.part.7>
20e: a4 98 cbi 0x14, 4 ; 20
namespace avrlib {
struct portc
{
static uint8_t port() { return PORTC; }
static void port(uint8_t v) { PORTC = v; }
210: ac 98 cbi 0x15, 4 ; 21
212: 2f ef ldi r18, 0xFF ; 255
214: 80 e7 ldi r24, 0x70 ; 112
216: 92 e0 ldi r25, 0x02 ; 2
218: 21 50 subi r18, 0x01 ; 1
21a: 80 40 sbci r24, 0x00 ; 0
21c: 90 40 sbci r25, 0x00 ; 0
21e: e1 f7 brne .-8 ; 0x218 <_GLOBAL__sub_I_l+0x34>
220: 00 c0 rjmp .+0 ; 0x222 <_GLOBAL__sub_I_l+0x3e>
222: 00 00 nop
return werti;
}
void init(void) {
_delay_ms(100);
this->send(0xC0E0); // AVR CLK: 10MHz
224: 80 ee ldi r24, 0xE0 ; 224
226: 90 ec ldi r25, 0xC0 ; 192
228: 0e 94 78 00 call 0xf0 ; 0xf0 <_ZN5Rfm12I3SpiIN6avrlib5portcELi3ELi4ELi1ELi2ELi1EELh1ELh0ELh7ELm433920ELj9600ELh0ELh6EE4sendEj.isra.19>
this->send(0x80D7); // Enable FIFO
22c: 87 ed ldi r24, 0xD7 ; 215
22e: 90 e8 ldi r25, 0x80 ; 128
230: 0e 94 78 00 call 0xf0 ; 0xf0 <_ZN5Rfm12I3SpiIN6avrlib5portcELi3ELi4ELi1ELi2ELi1EELh1ELh0ELh7ELm433920ELj9600ELh0ELh6EE4sendEj.isra.19>
this->send(0xC2AB); // Data Filter: internal
234: 8b ea ldi r24, 0xAB ; 171
236: 92 ec ldi r25, 0xC2 ; 194
238: 0e 94 78 00 call 0xf0 ; 0xf0 <_ZN5Rfm12I3SpiIN6avrlib5portcELi3ELi4ELi1ELi2ELi1EELh1ELh0ELh7ELm433920ELj9600ELh0ELh6EE4sendEj.isra.19>
this->send(0xCA81); // Set FIFO mode
23c: 81 e8 ldi r24, 0x81 ; 129
23e: 9a ec ldi r25, 0xCA ; 202
240: 0e 94 78 00 call 0xf0 ; 0xf0 <_ZN5Rfm12I3SpiIN6avrlib5portcELi3ELi4ELi1ELi2ELi1EELh1ELh0ELh7ELm433920ELj9600ELh0ELh6EE4sendEj.isra.19>
this->send(0xE000); // disable wakeuptimer
244: 80 e0 ldi r24, 0x00 ; 0
246: 90 ee ldi r25, 0xE0 ; 224
248: 0e 94 78 00 call 0xf0 ; 0xf0 <_ZN5Rfm12I3SpiIN6avrlib5portcELi3ELi4ELi1ELi2ELi1EELh1ELh0ELh7ELm433920ELj9600ELh0ELh6EE4sendEj.isra.19>
this->send(0xC800); // disable low duty cycle
24c: 80 e0 ldi r24, 0x00 ; 0
24e: 98 ec ldi r25, 0xC8 ; 200
250: 0e 94 78 00 call 0xf0 ; 0xf0 <_ZN5Rfm12I3SpiIN6avrlib5portcELi3ELi4ELi1ELi2ELi1EELh1ELh0ELh7ELm433920ELj9600ELh0ELh6EE4sendEj.isra.19>
this->send(0xC4F7); // AFC settings: autotuning: -10kHz...+7,5kHz
254: 87 ef ldi r24, 0xF7 ; 247
256: 94 ec ldi r25, 0xC4 ; 196
258: 0e 94 78 00 call 0xf0 ; 0xf0 <_ZN5Rfm12I3SpiIN6avrlib5portcELi3ELi4ELi1ELi2ELi1EELh1ELh0ELh7ELm433920ELj9600ELh0ELh6EE4sendEj.isra.19>
if( freq < 96 ) { // 430,2400MHz
this->send( 0xA000 | 96 );
} else if( freq > 3903 ) { // 439,7575MHz
this->send( 0xA000 | 3903 );
}
this->send( 0xA000 | freq );
25c: 80 e2 ldi r24, 0x20 ; 32
25e: 96 ea ldi r25, 0xA6 ; 166
260: 0e 94 78 00 call 0xf0 ; 0xf0 <_ZN5Rfm12I3SpiIN6avrlib5portcELi3ELi4ELi1ELi2ELi1EELh1ELh0ELh7ELm433920ELj9600ELh0ELh6EE4sendEj.isra.19>
this->setbandwidth(); // 400kHz Bandbreite, 0dB Verst<73>rkung, DRSSI threshold: -61dBm
this->setbaud(); // 19200 baud
this->setpower(); // 1mW Ausgangsleistung, 120kHz Frequenzshift
}
void setbandwidth() {
this->send( 0x9400 | ( ( bandwidth & 7 ) << 5 ) | ( ( gain & 3 ) << 3 ) | ( drssi & 7 ) );
264: 87 e2 ldi r24, 0x27 ; 39
266: 94 e9 ldi r25, 0x94 ; 148
268: 0e 94 78 00 call 0xf0 ; 0xf0 <_ZN5Rfm12I3SpiIN6avrlib5portcELi3ELi4ELi1ELi2ELi1EELh1ELh0ELh7ELm433920ELj9600ELh0ELh6EE4sendEj.isra.19>
return;
}
if (baud < 5400) { // Baudrate= 344827,58621/(R+1)/(1+CS*7)
this->send(0xC680 | ( ( 43104 / baud ) - 1 ) );
} else {
this->send(0xC600 | ( ( 344828UL / baud ) - 1 ) );
26c: 82 e2 ldi r24, 0x22 ; 34
26e: 96 ec ldi r25, 0xC6 ; 198
270: 0e 94 78 00 call 0xf0 ; 0xf0 <_ZN5Rfm12I3SpiIN6avrlib5portcELi3ELi4ELi1ELi2ELi1EELh1ELh0ELh7ELm433920ELj9600ELh0ELh6EE4sendEj.isra.19>
}
}
void setpower() {
this->send( 0x9800 | ( power & 7 ) | ( ( mod & 15 ) << 4 ) );
274: 80 e6 ldi r24, 0x60 ; 96
276: 98 e9 ldi r25, 0x98 ; 152
278: 0c 94 78 00 jmp 0xf0 ; 0xf0 <_ZN5Rfm12I3SpiIN6avrlib5portcELi3ELi4ELi1ELi2ELi1EELh1ELh0ELh7ELm433920ELj9600ELh0ELh6EE4sendEj.isra.19>
0000027c <__tablejump2__>:
27c: ee 0f add r30, r30
27e: ff 1f adc r31, r31
00000280 <__tablejump__>:
280: 05 90 lpm r0, Z+
282: f4 91 lpm r31, Z
284: e0 2d mov r30, r0
286: 09 94 ijmp
00000288 <sprintf>:
288: ae e0 ldi r26, 0x0E ; 14
28a: b0 e0 ldi r27, 0x00 ; 0
28c: ea e4 ldi r30, 0x4A ; 74
28e: f1 e0 ldi r31, 0x01 ; 1
290: 0c 94 f0 03 jmp 0x7e0 ; 0x7e0 <__prologue_saves__+0x1c>
294: 0d 89 ldd r16, Y+21 ; 0x15
296: 1e 89 ldd r17, Y+22 ; 0x16
298: 86 e0 ldi r24, 0x06 ; 6
29a: 8c 83 std Y+4, r24 ; 0x04
29c: 1a 83 std Y+2, r17 ; 0x02
29e: 09 83 std Y+1, r16 ; 0x01
2a0: 8f ef ldi r24, 0xFF ; 255
2a2: 9f e7 ldi r25, 0x7F ; 127
2a4: 9e 83 std Y+6, r25 ; 0x06
2a6: 8d 83 std Y+5, r24 ; 0x05
2a8: ce 01 movw r24, r28
2aa: 49 96 adiw r24, 0x19 ; 25
2ac: ac 01 movw r20, r24
2ae: 6f 89 ldd r22, Y+23 ; 0x17
2b0: 78 8d ldd r23, Y+24 ; 0x18
2b2: ce 01 movw r24, r28
2b4: 01 96 adiw r24, 0x01 ; 1
2b6: 0e 94 66 01 call 0x2cc ; 0x2cc <vfprintf>
2ba: ef 81 ldd r30, Y+7 ; 0x07
2bc: f8 85 ldd r31, Y+8 ; 0x08
2be: e0 0f add r30, r16
2c0: f1 1f adc r31, r17
2c2: 10 82 st Z, r1
2c4: 2e 96 adiw r28, 0x0e ; 14
2c6: e4 e0 ldi r30, 0x04 ; 4
2c8: 0c 94 0c 04 jmp 0x818 ; 0x818 <__epilogue_restores__+0x1c>
000002cc <vfprintf>:
2cc: ac e0 ldi r26, 0x0C ; 12
2ce: b0 e0 ldi r27, 0x00 ; 0
2d0: ec e6 ldi r30, 0x6C ; 108
2d2: f1 e0 ldi r31, 0x01 ; 1
2d4: 0c 94 e2 03 jmp 0x7c4 ; 0x7c4 <__prologue_saves__>
2d8: 7c 01 movw r14, r24
2da: 6b 01 movw r12, r22
2dc: 8a 01 movw r16, r20
2de: fc 01 movw r30, r24
2e0: 17 82 std Z+7, r1 ; 0x07
2e2: 16 82 std Z+6, r1 ; 0x06
2e4: 83 81 ldd r24, Z+3 ; 0x03
2e6: 81 ff sbrs r24, 1
2e8: c6 c1 rjmp .+908 ; 0x676 <__stack+0x217>
2ea: 88 24 eor r8, r8
2ec: 83 94 inc r8
2ee: 91 2c mov r9, r1
2f0: 8c 0e add r8, r28
2f2: 9d 1e adc r9, r29
2f4: f7 01 movw r30, r14
2f6: 93 81 ldd r25, Z+3 ; 0x03
2f8: f6 01 movw r30, r12
2fa: 93 fd sbrc r25, 3
2fc: 85 91 lpm r24, Z+
2fe: 93 ff sbrs r25, 3
300: 81 91 ld r24, Z+
302: 6f 01 movw r12, r30
304: 88 23 and r24, r24
306: 09 f4 brne .+2 ; 0x30a <vfprintf+0x3e>
308: b2 c1 rjmp .+868 ; 0x66e <__stack+0x20f>
30a: 85 32 cpi r24, 0x25 ; 37
30c: 39 f4 brne .+14 ; 0x31c <vfprintf+0x50>
30e: 93 fd sbrc r25, 3
310: 85 91 lpm r24, Z+
312: 93 ff sbrs r25, 3
314: 81 91 ld r24, Z+
316: 6f 01 movw r12, r30
318: 85 32 cpi r24, 0x25 ; 37
31a: 29 f4 brne .+10 ; 0x326 <vfprintf+0x5a>
31c: b7 01 movw r22, r14
31e: 90 e0 ldi r25, 0x00 ; 0
320: 0e 94 58 03 call 0x6b0 ; 0x6b0 <fputc>
324: e7 cf rjmp .-50 ; 0x2f4 <vfprintf+0x28>
326: 51 2c mov r5, r1
328: 31 2c mov r3, r1
32a: 20 e0 ldi r18, 0x00 ; 0
32c: 20 32 cpi r18, 0x20 ; 32
32e: a8 f4 brcc .+42 ; 0x35a <vfprintf+0x8e>
330: 8b 32 cpi r24, 0x2B ; 43
332: 61 f0 breq .+24 ; 0x34c <vfprintf+0x80>
334: 28 f4 brcc .+10 ; 0x340 <vfprintf+0x74>
336: 80 32 cpi r24, 0x20 ; 32
338: 51 f0 breq .+20 ; 0x34e <vfprintf+0x82>
33a: 83 32 cpi r24, 0x23 ; 35
33c: 71 f4 brne .+28 ; 0x35a <vfprintf+0x8e>
33e: 0b c0 rjmp .+22 ; 0x356 <vfprintf+0x8a>
340: 8d 32 cpi r24, 0x2D ; 45
342: 39 f0 breq .+14 ; 0x352 <vfprintf+0x86>
344: 80 33 cpi r24, 0x30 ; 48
346: 49 f4 brne .+18 ; 0x35a <vfprintf+0x8e>
348: 21 60 ori r18, 0x01 ; 1
34a: 28 c0 rjmp .+80 ; 0x39c <vfprintf+0xd0>
34c: 22 60 ori r18, 0x02 ; 2
34e: 24 60 ori r18, 0x04 ; 4
350: 25 c0 rjmp .+74 ; 0x39c <vfprintf+0xd0>
352: 28 60 ori r18, 0x08 ; 8
354: 23 c0 rjmp .+70 ; 0x39c <vfprintf+0xd0>
356: 20 61 ori r18, 0x10 ; 16
358: 21 c0 rjmp .+66 ; 0x39c <vfprintf+0xd0>
35a: 27 fd sbrc r18, 7
35c: 27 c0 rjmp .+78 ; 0x3ac <vfprintf+0xe0>
35e: 38 2f mov r19, r24
360: 30 53 subi r19, 0x30 ; 48
362: 3a 30 cpi r19, 0x0A ; 10
364: 78 f4 brcc .+30 ; 0x384 <vfprintf+0xb8>
366: 26 ff sbrs r18, 6
368: 06 c0 rjmp .+12 ; 0x376 <vfprintf+0xaa>
36a: fa e0 ldi r31, 0x0A ; 10
36c: 5f 9e mul r5, r31
36e: 30 0d add r19, r0
370: 11 24 eor r1, r1
372: 53 2e mov r5, r19
374: 13 c0 rjmp .+38 ; 0x39c <vfprintf+0xd0>
376: 8a e0 ldi r24, 0x0A ; 10
378: 38 9e mul r3, r24
37a: 30 0d add r19, r0
37c: 11 24 eor r1, r1
37e: 33 2e mov r3, r19
380: 20 62 ori r18, 0x20 ; 32
382: 0c c0 rjmp .+24 ; 0x39c <vfprintf+0xd0>
384: 8e 32 cpi r24, 0x2E ; 46
386: 21 f4 brne .+8 ; 0x390 <vfprintf+0xc4>
388: 26 fd sbrc r18, 6
38a: 71 c1 rjmp .+738 ; 0x66e <__stack+0x20f>
38c: 20 64 ori r18, 0x40 ; 64
38e: 06 c0 rjmp .+12 ; 0x39c <vfprintf+0xd0>
390: 8c 36 cpi r24, 0x6C ; 108
392: 11 f4 brne .+4 ; 0x398 <vfprintf+0xcc>
394: 20 68 ori r18, 0x80 ; 128
396: 02 c0 rjmp .+4 ; 0x39c <vfprintf+0xd0>
398: 88 36 cpi r24, 0x68 ; 104
39a: 41 f4 brne .+16 ; 0x3ac <vfprintf+0xe0>
39c: f6 01 movw r30, r12
39e: 93 fd sbrc r25, 3
3a0: 85 91 lpm r24, Z+
3a2: 93 ff sbrs r25, 3
3a4: 81 91 ld r24, Z+
3a6: 6f 01 movw r12, r30
3a8: 81 11 cpse r24, r1
3aa: c0 cf rjmp .-128 ; 0x32c <vfprintf+0x60>
3ac: 98 2f mov r25, r24
3ae: 95 54 subi r25, 0x45 ; 69
3b0: 93 30 cpi r25, 0x03 ; 3
3b2: 18 f0 brcs .+6 ; 0x3ba <vfprintf+0xee>
3b4: 90 52 subi r25, 0x20 ; 32
3b6: 93 30 cpi r25, 0x03 ; 3
3b8: 28 f4 brcc .+10 ; 0x3c4 <vfprintf+0xf8>
3ba: 0c 5f subi r16, 0xFC ; 252
3bc: 1f 4f sbci r17, 0xFF ; 255
3be: ff e3 ldi r31, 0x3F ; 63
3c0: f9 83 std Y+1, r31 ; 0x01
3c2: 0d c0 rjmp .+26 ; 0x3de <vfprintf+0x112>
3c4: 83 36 cpi r24, 0x63 ; 99
3c6: 31 f0 breq .+12 ; 0x3d4 <vfprintf+0x108>
3c8: 83 37 cpi r24, 0x73 ; 115
3ca: 71 f0 breq .+28 ; 0x3e8 <vfprintf+0x11c>
3cc: 83 35 cpi r24, 0x53 ; 83
3ce: 09 f0 breq .+2 ; 0x3d2 <vfprintf+0x106>
3d0: 5e c0 rjmp .+188 ; 0x48e <__stack+0x2f>
3d2: 23 c0 rjmp .+70 ; 0x41a <vfprintf+0x14e>
3d4: f8 01 movw r30, r16
3d6: 80 81 ld r24, Z
3d8: 89 83 std Y+1, r24 ; 0x01
3da: 0e 5f subi r16, 0xFE ; 254
3dc: 1f 4f sbci r17, 0xFF ; 255
3de: 44 24 eor r4, r4
3e0: 43 94 inc r4
3e2: 51 2c mov r5, r1
3e4: 54 01 movw r10, r8
3e6: 15 c0 rjmp .+42 ; 0x412 <vfprintf+0x146>
3e8: 38 01 movw r6, r16
3ea: f2 e0 ldi r31, 0x02 ; 2
3ec: 6f 0e add r6, r31
3ee: 71 1c adc r7, r1
3f0: f8 01 movw r30, r16
3f2: a0 80 ld r10, Z
3f4: b1 80 ldd r11, Z+1 ; 0x01
3f6: 26 ff sbrs r18, 6
3f8: 03 c0 rjmp .+6 ; 0x400 <vfprintf+0x134>
3fa: 65 2d mov r22, r5
3fc: 70 e0 ldi r23, 0x00 ; 0
3fe: 02 c0 rjmp .+4 ; 0x404 <vfprintf+0x138>
400: 6f ef ldi r22, 0xFF ; 255
402: 7f ef ldi r23, 0xFF ; 255
404: c5 01 movw r24, r10
406: 2c 87 std Y+12, r18 ; 0x0c
408: 0e 94 4d 03 call 0x69a ; 0x69a <strnlen>
40c: 2c 01 movw r4, r24
40e: 83 01 movw r16, r6
410: 2c 85 ldd r18, Y+12 ; 0x0c
412: 6f e7 ldi r22, 0x7F ; 127
414: 26 2e mov r2, r22
416: 22 22 and r2, r18
418: 18 c0 rjmp .+48 ; 0x44a <vfprintf+0x17e>
41a: 38 01 movw r6, r16
41c: f2 e0 ldi r31, 0x02 ; 2
41e: 6f 0e add r6, r31
420: 71 1c adc r7, r1
422: f8 01 movw r30, r16
424: a0 80 ld r10, Z
426: b1 80 ldd r11, Z+1 ; 0x01
428: 26 ff sbrs r18, 6
42a: 03 c0 rjmp .+6 ; 0x432 <vfprintf+0x166>
42c: 65 2d mov r22, r5
42e: 70 e0 ldi r23, 0x00 ; 0
430: 02 c0 rjmp .+4 ; 0x436 <vfprintf+0x16a>
432: 6f ef ldi r22, 0xFF ; 255
434: 7f ef ldi r23, 0xFF ; 255
436: c5 01 movw r24, r10
438: 2c 87 std Y+12, r18 ; 0x0c
43a: 0e 94 42 03 call 0x684 ; 0x684 <strnlen_P>
43e: 2c 01 movw r4, r24
440: 2c 85 ldd r18, Y+12 ; 0x0c
442: 50 e8 ldi r21, 0x80 ; 128
444: 25 2e mov r2, r21
446: 22 2a or r2, r18
448: 83 01 movw r16, r6
44a: 23 fc sbrc r2, 3
44c: 1c c0 rjmp .+56 ; 0x486 <__stack+0x27>
44e: 06 c0 rjmp .+12 ; 0x45c <vfprintf+0x190>
450: b7 01 movw r22, r14
452: 80 e2 ldi r24, 0x20 ; 32
454: 90 e0 ldi r25, 0x00 ; 0
456: 0e 94 58 03 call 0x6b0 ; 0x6b0 <fputc>
45a: 3a 94 dec r3
45c: 83 2d mov r24, r3
45e: 90 e0 ldi r25, 0x00 ; 0
460: 48 16 cp r4, r24
462: 59 06 cpc r5, r25
464: a8 f3 brcs .-22 ; 0x450 <vfprintf+0x184>
466: 0f c0 rjmp .+30 ; 0x486 <__stack+0x27>
468: f5 01 movw r30, r10
46a: 27 fc sbrc r2, 7
46c: 85 91 lpm r24, Z+
46e: 27 fe sbrs r2, 7
470: 81 91 ld r24, Z+
472: 5f 01 movw r10, r30
474: b7 01 movw r22, r14
476: 90 e0 ldi r25, 0x00 ; 0
478: 0e 94 58 03 call 0x6b0 ; 0x6b0 <fputc>
47c: 31 10 cpse r3, r1
47e: 3a 94 dec r3
480: f1 e0 ldi r31, 0x01 ; 1
482: 4f 1a sub r4, r31
484: 51 08 sbc r5, r1
486: 41 14 cp r4, r1
488: 51 04 cpc r5, r1
48a: 71 f7 brne .-36 ; 0x468 <__stack+0x9>
48c: ed c0 rjmp .+474 ; 0x668 <__stack+0x209>
48e: 84 36 cpi r24, 0x64 ; 100
490: 11 f0 breq .+4 ; 0x496 <__stack+0x37>
492: 89 36 cpi r24, 0x69 ; 105
494: 41 f5 brne .+80 ; 0x4e6 <__stack+0x87>
496: f8 01 movw r30, r16
498: 27 ff sbrs r18, 7
49a: 07 c0 rjmp .+14 ; 0x4aa <__stack+0x4b>
49c: 60 81 ld r22, Z
49e: 71 81 ldd r23, Z+1 ; 0x01
4a0: 82 81 ldd r24, Z+2 ; 0x02
4a2: 93 81 ldd r25, Z+3 ; 0x03
4a4: 0c 5f subi r16, 0xFC ; 252
4a6: 1f 4f sbci r17, 0xFF ; 255
4a8: 08 c0 rjmp .+16 ; 0x4ba <__stack+0x5b>
4aa: 60 81 ld r22, Z
4ac: 71 81 ldd r23, Z+1 ; 0x01
4ae: 88 27 eor r24, r24
4b0: 77 fd sbrc r23, 7
4b2: 80 95 com r24
4b4: 98 2f mov r25, r24
4b6: 0e 5f subi r16, 0xFE ; 254
4b8: 1f 4f sbci r17, 0xFF ; 255
4ba: 4f e6 ldi r20, 0x6F ; 111
4bc: b4 2e mov r11, r20
4be: b2 22 and r11, r18
4c0: 97 ff sbrs r25, 7
4c2: 09 c0 rjmp .+18 ; 0x4d6 <__stack+0x77>
4c4: 90 95 com r25
4c6: 80 95 com r24
4c8: 70 95 com r23
4ca: 61 95 neg r22
4cc: 7f 4f sbci r23, 0xFF ; 255
4ce: 8f 4f sbci r24, 0xFF ; 255
4d0: 9f 4f sbci r25, 0xFF ; 255
4d2: f0 e8 ldi r31, 0x80 ; 128
4d4: bf 2a or r11, r31
4d6: 2a e0 ldi r18, 0x0A ; 10
4d8: 30 e0 ldi r19, 0x00 ; 0
4da: a4 01 movw r20, r8
4dc: 0e 94 84 03 call 0x708 ; 0x708 <__ultoa_invert>
4e0: a8 2e mov r10, r24
4e2: a8 18 sub r10, r8
4e4: 43 c0 rjmp .+134 ; 0x56c <__stack+0x10d>
4e6: 85 37 cpi r24, 0x75 ; 117
4e8: 31 f4 brne .+12 ; 0x4f6 <__stack+0x97>
4ea: 3f ee ldi r19, 0xEF ; 239
4ec: b3 2e mov r11, r19
4ee: b2 22 and r11, r18
4f0: 2a e0 ldi r18, 0x0A ; 10
4f2: 30 e0 ldi r19, 0x00 ; 0
4f4: 24 c0 rjmp .+72 ; 0x53e <__stack+0xdf>
4f6: 99 ef ldi r25, 0xF9 ; 249
4f8: b9 2e mov r11, r25
4fa: b2 22 and r11, r18
4fc: 8f 36 cpi r24, 0x6F ; 111
4fe: b9 f0 breq .+46 ; 0x52e <__stack+0xcf>
500: 20 f4 brcc .+8 ; 0x50a <__stack+0xab>
502: 88 35 cpi r24, 0x58 ; 88
504: 09 f0 breq .+2 ; 0x508 <__stack+0xa9>
506: b3 c0 rjmp .+358 ; 0x66e <__stack+0x20f>
508: 0d c0 rjmp .+26 ; 0x524 <__stack+0xc5>
50a: 80 37 cpi r24, 0x70 ; 112
50c: 21 f0 breq .+8 ; 0x516 <__stack+0xb7>
50e: 88 37 cpi r24, 0x78 ; 120
510: 09 f0 breq .+2 ; 0x514 <__stack+0xb5>
512: ad c0 rjmp .+346 ; 0x66e <__stack+0x20f>
514: 02 c0 rjmp .+4 ; 0x51a <__stack+0xbb>
516: 20 e1 ldi r18, 0x10 ; 16
518: b2 2a or r11, r18
51a: b4 fe sbrs r11, 4
51c: 0b c0 rjmp .+22 ; 0x534 <__stack+0xd5>
51e: 84 e0 ldi r24, 0x04 ; 4
520: b8 2a or r11, r24
522: 08 c0 rjmp .+16 ; 0x534 <__stack+0xd5>
524: 24 ff sbrs r18, 4
526: 09 c0 rjmp .+18 ; 0x53a <__stack+0xdb>
528: e6 e0 ldi r30, 0x06 ; 6
52a: be 2a or r11, r30
52c: 06 c0 rjmp .+12 ; 0x53a <__stack+0xdb>
52e: 28 e0 ldi r18, 0x08 ; 8
530: 30 e0 ldi r19, 0x00 ; 0
532: 05 c0 rjmp .+10 ; 0x53e <__stack+0xdf>
534: 20 e1 ldi r18, 0x10 ; 16
536: 30 e0 ldi r19, 0x00 ; 0
538: 02 c0 rjmp .+4 ; 0x53e <__stack+0xdf>
53a: 20 e1 ldi r18, 0x10 ; 16
53c: 32 e0 ldi r19, 0x02 ; 2
53e: f8 01 movw r30, r16
540: b7 fe sbrs r11, 7
542: 07 c0 rjmp .+14 ; 0x552 <__stack+0xf3>
544: 60 81 ld r22, Z
546: 71 81 ldd r23, Z+1 ; 0x01
548: 82 81 ldd r24, Z+2 ; 0x02
54a: 93 81 ldd r25, Z+3 ; 0x03
54c: 0c 5f subi r16, 0xFC ; 252
54e: 1f 4f sbci r17, 0xFF ; 255
550: 06 c0 rjmp .+12 ; 0x55e <__stack+0xff>
552: 60 81 ld r22, Z
554: 71 81 ldd r23, Z+1 ; 0x01
556: 80 e0 ldi r24, 0x00 ; 0
558: 90 e0 ldi r25, 0x00 ; 0
55a: 0e 5f subi r16, 0xFE ; 254
55c: 1f 4f sbci r17, 0xFF ; 255
55e: a4 01 movw r20, r8
560: 0e 94 84 03 call 0x708 ; 0x708 <__ultoa_invert>
564: a8 2e mov r10, r24
566: a8 18 sub r10, r8
568: ff e7 ldi r31, 0x7F ; 127
56a: bf 22 and r11, r31
56c: b6 fe sbrs r11, 6
56e: 0b c0 rjmp .+22 ; 0x586 <__stack+0x127>
570: 2b 2d mov r18, r11
572: 2e 7f andi r18, 0xFE ; 254
574: a5 14 cp r10, r5
576: 50 f4 brcc .+20 ; 0x58c <__stack+0x12d>
578: b4 fe sbrs r11, 4
57a: 0a c0 rjmp .+20 ; 0x590 <__stack+0x131>
57c: b2 fc sbrc r11, 2
57e: 08 c0 rjmp .+16 ; 0x590 <__stack+0x131>
580: 2b 2d mov r18, r11
582: 2e 7e andi r18, 0xEE ; 238
584: 05 c0 rjmp .+10 ; 0x590 <__stack+0x131>
586: 7a 2c mov r7, r10
588: 2b 2d mov r18, r11
58a: 03 c0 rjmp .+6 ; 0x592 <__stack+0x133>
58c: 7a 2c mov r7, r10
58e: 01 c0 rjmp .+2 ; 0x592 <__stack+0x133>
590: 75 2c mov r7, r5
592: 24 ff sbrs r18, 4
594: 0d c0 rjmp .+26 ; 0x5b0 <__stack+0x151>
596: fe 01 movw r30, r28
598: ea 0d add r30, r10
59a: f1 1d adc r31, r1
59c: 80 81 ld r24, Z
59e: 80 33 cpi r24, 0x30 ; 48
5a0: 11 f4 brne .+4 ; 0x5a6 <__stack+0x147>
5a2: 29 7e andi r18, 0xE9 ; 233
5a4: 09 c0 rjmp .+18 ; 0x5b8 <__stack+0x159>
5a6: 22 ff sbrs r18, 2
5a8: 06 c0 rjmp .+12 ; 0x5b6 <__stack+0x157>
5aa: 73 94 inc r7
5ac: 73 94 inc r7
5ae: 04 c0 rjmp .+8 ; 0x5b8 <__stack+0x159>
5b0: 82 2f mov r24, r18
5b2: 86 78 andi r24, 0x86 ; 134
5b4: 09 f0 breq .+2 ; 0x5b8 <__stack+0x159>
5b6: 73 94 inc r7
5b8: 23 fd sbrc r18, 3
5ba: 14 c0 rjmp .+40 ; 0x5e4 <__stack+0x185>
5bc: 20 ff sbrs r18, 0
5be: 0f c0 rjmp .+30 ; 0x5de <__stack+0x17f>
5c0: 5a 2c mov r5, r10
5c2: 73 14 cp r7, r3
5c4: 60 f4 brcc .+24 ; 0x5de <__stack+0x17f>
5c6: 53 0c add r5, r3
5c8: 57 18 sub r5, r7
5ca: 73 2c mov r7, r3
5cc: 08 c0 rjmp .+16 ; 0x5de <__stack+0x17f>
5ce: b7 01 movw r22, r14
5d0: 80 e2 ldi r24, 0x20 ; 32
5d2: 90 e0 ldi r25, 0x00 ; 0
5d4: 2c 87 std Y+12, r18 ; 0x0c
5d6: 0e 94 58 03 call 0x6b0 ; 0x6b0 <fputc>
5da: 73 94 inc r7
5dc: 2c 85 ldd r18, Y+12 ; 0x0c
5de: 73 14 cp r7, r3
5e0: b0 f3 brcs .-20 ; 0x5ce <__stack+0x16f>
5e2: 04 c0 rjmp .+8 ; 0x5ec <__stack+0x18d>
5e4: 73 14 cp r7, r3
5e6: 10 f4 brcc .+4 ; 0x5ec <__stack+0x18d>
5e8: 37 18 sub r3, r7
5ea: 01 c0 rjmp .+2 ; 0x5ee <__stack+0x18f>
5ec: 31 2c mov r3, r1
5ee: 24 ff sbrs r18, 4
5f0: 12 c0 rjmp .+36 ; 0x616 <__stack+0x1b7>
5f2: b7 01 movw r22, r14
5f4: 80 e3 ldi r24, 0x30 ; 48
5f6: 90 e0 ldi r25, 0x00 ; 0
5f8: 2c 87 std Y+12, r18 ; 0x0c
5fa: 0e 94 58 03 call 0x6b0 ; 0x6b0 <fputc>
5fe: 2c 85 ldd r18, Y+12 ; 0x0c
600: 22 ff sbrs r18, 2
602: 1e c0 rjmp .+60 ; 0x640 <__stack+0x1e1>
604: 21 ff sbrs r18, 1
606: 03 c0 rjmp .+6 ; 0x60e <__stack+0x1af>
608: 88 e5 ldi r24, 0x58 ; 88
60a: 90 e0 ldi r25, 0x00 ; 0
60c: 02 c0 rjmp .+4 ; 0x612 <__stack+0x1b3>
60e: 88 e7 ldi r24, 0x78 ; 120
610: 90 e0 ldi r25, 0x00 ; 0
612: b7 01 movw r22, r14
614: 0c c0 rjmp .+24 ; 0x62e <__stack+0x1cf>
616: 82 2f mov r24, r18
618: 86 78 andi r24, 0x86 ; 134
61a: 91 f0 breq .+36 ; 0x640 <__stack+0x1e1>
61c: 21 fd sbrc r18, 1
61e: 02 c0 rjmp .+4 ; 0x624 <__stack+0x1c5>
620: 80 e2 ldi r24, 0x20 ; 32
622: 01 c0 rjmp .+2 ; 0x626 <__stack+0x1c7>
624: 8b e2 ldi r24, 0x2B ; 43
626: 27 fd sbrc r18, 7
628: 8d e2 ldi r24, 0x2D ; 45
62a: b7 01 movw r22, r14
62c: 90 e0 ldi r25, 0x00 ; 0
62e: 0e 94 58 03 call 0x6b0 ; 0x6b0 <fputc>
632: 06 c0 rjmp .+12 ; 0x640 <__stack+0x1e1>
634: b7 01 movw r22, r14
636: 80 e3 ldi r24, 0x30 ; 48
638: 90 e0 ldi r25, 0x00 ; 0
63a: 0e 94 58 03 call 0x6b0 ; 0x6b0 <fputc>
63e: 5a 94 dec r5
640: a5 14 cp r10, r5
642: c0 f3 brcs .-16 ; 0x634 <__stack+0x1d5>
644: aa 94 dec r10
646: f4 01 movw r30, r8
648: ea 0d add r30, r10
64a: f1 1d adc r31, r1
64c: b7 01 movw r22, r14
64e: 80 81 ld r24, Z
650: 90 e0 ldi r25, 0x00 ; 0
652: 0e 94 58 03 call 0x6b0 ; 0x6b0 <fputc>
656: a1 10 cpse r10, r1
658: f5 cf rjmp .-22 ; 0x644 <__stack+0x1e5>
65a: 06 c0 rjmp .+12 ; 0x668 <__stack+0x209>
65c: b7 01 movw r22, r14
65e: 80 e2 ldi r24, 0x20 ; 32
660: 90 e0 ldi r25, 0x00 ; 0
662: 0e 94 58 03 call 0x6b0 ; 0x6b0 <fputc>
666: 3a 94 dec r3
668: 31 10 cpse r3, r1
66a: f8 cf rjmp .-16 ; 0x65c <__stack+0x1fd>
66c: 43 ce rjmp .-890 ; 0x2f4 <vfprintf+0x28>
66e: f7 01 movw r30, r14
670: 26 81 ldd r18, Z+6 ; 0x06
672: 37 81 ldd r19, Z+7 ; 0x07
674: 02 c0 rjmp .+4 ; 0x67a <__stack+0x21b>
676: 2f ef ldi r18, 0xFF ; 255
678: 3f ef ldi r19, 0xFF ; 255
67a: c9 01 movw r24, r18
67c: 2c 96 adiw r28, 0x0c ; 12
67e: e2 e1 ldi r30, 0x12 ; 18
680: 0c 94 fe 03 jmp 0x7fc ; 0x7fc <__epilogue_restores__>
00000684 <strnlen_P>:
684: fc 01 movw r30, r24
686: 05 90 lpm r0, Z+
688: 61 50 subi r22, 0x01 ; 1
68a: 70 40 sbci r23, 0x00 ; 0
68c: 01 10 cpse r0, r1
68e: d8 f7 brcc .-10 ; 0x686 <strnlen_P+0x2>
690: 80 95 com r24
692: 90 95 com r25
694: 8e 0f add r24, r30
696: 9f 1f adc r25, r31
698: 08 95 ret
0000069a <strnlen>:
69a: fc 01 movw r30, r24
69c: 61 50 subi r22, 0x01 ; 1
69e: 70 40 sbci r23, 0x00 ; 0
6a0: 01 90 ld r0, Z+
6a2: 01 10 cpse r0, r1
6a4: d8 f7 brcc .-10 ; 0x69c <strnlen+0x2>
6a6: 80 95 com r24
6a8: 90 95 com r25
6aa: 8e 0f add r24, r30
6ac: 9f 1f adc r25, r31
6ae: 08 95 ret
000006b0 <fputc>:
6b0: 0f 93 push r16
6b2: 1f 93 push r17
6b4: cf 93 push r28
6b6: df 93 push r29
6b8: 8c 01 movw r16, r24
6ba: eb 01 movw r28, r22
6bc: 8b 81 ldd r24, Y+3 ; 0x03
6be: 81 fd sbrc r24, 1
6c0: 03 c0 rjmp .+6 ; 0x6c8 <fputc+0x18>
6c2: 0f ef ldi r16, 0xFF ; 255
6c4: 1f ef ldi r17, 0xFF ; 255
6c6: 1a c0 rjmp .+52 ; 0x6fc <fputc+0x4c>
6c8: 82 ff sbrs r24, 2
6ca: 0d c0 rjmp .+26 ; 0x6e6 <fputc+0x36>
6cc: 2e 81 ldd r18, Y+6 ; 0x06
6ce: 3f 81 ldd r19, Y+7 ; 0x07
6d0: 8c 81 ldd r24, Y+4 ; 0x04
6d2: 9d 81 ldd r25, Y+5 ; 0x05
6d4: 28 17 cp r18, r24
6d6: 39 07 cpc r19, r25
6d8: 64 f4 brge .+24 ; 0x6f2 <fputc+0x42>
6da: e8 81 ld r30, Y
6dc: f9 81 ldd r31, Y+1 ; 0x01
6de: 01 93 st Z+, r16
6e0: f9 83 std Y+1, r31 ; 0x01
6e2: e8 83 st Y, r30
6e4: 06 c0 rjmp .+12 ; 0x6f2 <fputc+0x42>
6e6: e8 85 ldd r30, Y+8 ; 0x08
6e8: f9 85 ldd r31, Y+9 ; 0x09
6ea: 80 2f mov r24, r16
6ec: 09 95 icall
6ee: 89 2b or r24, r25
6f0: 41 f7 brne .-48 ; 0x6c2 <fputc+0x12>
6f2: 8e 81 ldd r24, Y+6 ; 0x06
6f4: 9f 81 ldd r25, Y+7 ; 0x07
6f6: 01 96 adiw r24, 0x01 ; 1
6f8: 9f 83 std Y+7, r25 ; 0x07
6fa: 8e 83 std Y+6, r24 ; 0x06
6fc: c8 01 movw r24, r16
6fe: df 91 pop r29
700: cf 91 pop r28
702: 1f 91 pop r17
704: 0f 91 pop r16
706: 08 95 ret
00000708 <__ultoa_invert>:
708: fa 01 movw r30, r20
70a: aa 27 eor r26, r26
70c: 28 30 cpi r18, 0x08 ; 8
70e: 51 f1 breq .+84 ; 0x764 <__ultoa_invert+0x5c>
710: 20 31 cpi r18, 0x10 ; 16
712: 81 f1 breq .+96 ; 0x774 <__ultoa_invert+0x6c>
714: e8 94 clt
716: 6f 93 push r22
718: 6e 7f andi r22, 0xFE ; 254
71a: 6e 5f subi r22, 0xFE ; 254
71c: 7f 4f sbci r23, 0xFF ; 255
71e: 8f 4f sbci r24, 0xFF ; 255
720: 9f 4f sbci r25, 0xFF ; 255
722: af 4f sbci r26, 0xFF ; 255
724: b1 e0 ldi r27, 0x01 ; 1
726: 3e d0 rcall .+124 ; 0x7a4 <__ultoa_invert+0x9c>
728: b4 e0 ldi r27, 0x04 ; 4
72a: 3c d0 rcall .+120 ; 0x7a4 <__ultoa_invert+0x9c>
72c: 67 0f add r22, r23
72e: 78 1f adc r23, r24
730: 89 1f adc r24, r25
732: 9a 1f adc r25, r26
734: a1 1d adc r26, r1
736: 68 0f add r22, r24
738: 79 1f adc r23, r25
73a: 8a 1f adc r24, r26
73c: 91 1d adc r25, r1
73e: a1 1d adc r26, r1
740: 6a 0f add r22, r26
742: 71 1d adc r23, r1
744: 81 1d adc r24, r1
746: 91 1d adc r25, r1
748: a1 1d adc r26, r1
74a: 20 d0 rcall .+64 ; 0x78c <__ultoa_invert+0x84>
74c: 09 f4 brne .+2 ; 0x750 <__ultoa_invert+0x48>
74e: 68 94 set
750: 3f 91 pop r19
752: 2a e0 ldi r18, 0x0A ; 10
754: 26 9f mul r18, r22
756: 11 24 eor r1, r1
758: 30 19 sub r19, r0
75a: 30 5d subi r19, 0xD0 ; 208
75c: 31 93 st Z+, r19
75e: de f6 brtc .-74 ; 0x716 <__ultoa_invert+0xe>
760: cf 01 movw r24, r30
762: 08 95 ret
764: 46 2f mov r20, r22
766: 47 70 andi r20, 0x07 ; 7
768: 40 5d subi r20, 0xD0 ; 208
76a: 41 93 st Z+, r20
76c: b3 e0 ldi r27, 0x03 ; 3
76e: 0f d0 rcall .+30 ; 0x78e <__ultoa_invert+0x86>
770: c9 f7 brne .-14 ; 0x764 <__ultoa_invert+0x5c>
772: f6 cf rjmp .-20 ; 0x760 <__ultoa_invert+0x58>
774: 46 2f mov r20, r22
776: 4f 70 andi r20, 0x0F ; 15
778: 40 5d subi r20, 0xD0 ; 208
77a: 4a 33 cpi r20, 0x3A ; 58
77c: 18 f0 brcs .+6 ; 0x784 <__ultoa_invert+0x7c>
77e: 49 5d subi r20, 0xD9 ; 217
780: 31 fd sbrc r19, 1
782: 40 52 subi r20, 0x20 ; 32
784: 41 93 st Z+, r20
786: 02 d0 rcall .+4 ; 0x78c <__ultoa_invert+0x84>
788: a9 f7 brne .-22 ; 0x774 <__ultoa_invert+0x6c>
78a: ea cf rjmp .-44 ; 0x760 <__ultoa_invert+0x58>
78c: b4 e0 ldi r27, 0x04 ; 4
78e: a6 95 lsr r26
790: 97 95 ror r25
792: 87 95 ror r24
794: 77 95 ror r23
796: 67 95 ror r22
798: ba 95 dec r27
79a: c9 f7 brne .-14 ; 0x78e <__ultoa_invert+0x86>
79c: 00 97 sbiw r24, 0x00 ; 0
79e: 61 05 cpc r22, r1
7a0: 71 05 cpc r23, r1
7a2: 08 95 ret
7a4: 9b 01 movw r18, r22
7a6: ac 01 movw r20, r24
7a8: 0a 2e mov r0, r26
7aa: 06 94 lsr r0
7ac: 57 95 ror r21
7ae: 47 95 ror r20
7b0: 37 95 ror r19
7b2: 27 95 ror r18
7b4: ba 95 dec r27
7b6: c9 f7 brne .-14 ; 0x7aa <__ultoa_invert+0xa2>
7b8: 62 0f add r22, r18
7ba: 73 1f adc r23, r19
7bc: 84 1f adc r24, r20
7be: 95 1f adc r25, r21
7c0: a0 1d adc r26, r0
7c2: 08 95 ret
000007c4 <__prologue_saves__>:
7c4: 2f 92 push r2
7c6: 3f 92 push r3
7c8: 4f 92 push r4
7ca: 5f 92 push r5
7cc: 6f 92 push r6
7ce: 7f 92 push r7
7d0: 8f 92 push r8
7d2: 9f 92 push r9
7d4: af 92 push r10
7d6: bf 92 push r11
7d8: cf 92 push r12
7da: df 92 push r13
7dc: ef 92 push r14
7de: ff 92 push r15
7e0: 0f 93 push r16
7e2: 1f 93 push r17
7e4: cf 93 push r28
7e6: df 93 push r29
7e8: cd b7 in r28, 0x3d ; 61
7ea: de b7 in r29, 0x3e ; 62
7ec: ca 1b sub r28, r26
7ee: db 0b sbc r29, r27
7f0: 0f b6 in r0, 0x3f ; 63
7f2: f8 94 cli
7f4: de bf out 0x3e, r29 ; 62
7f6: 0f be out 0x3f, r0 ; 63
7f8: cd bf out 0x3d, r28 ; 61
7fa: 09 94 ijmp
000007fc <__epilogue_restores__>:
7fc: 2a 88 ldd r2, Y+18 ; 0x12
7fe: 39 88 ldd r3, Y+17 ; 0x11
800: 48 88 ldd r4, Y+16 ; 0x10
802: 5f 84 ldd r5, Y+15 ; 0x0f
804: 6e 84 ldd r6, Y+14 ; 0x0e
806: 7d 84 ldd r7, Y+13 ; 0x0d
808: 8c 84 ldd r8, Y+12 ; 0x0c
80a: 9b 84 ldd r9, Y+11 ; 0x0b
80c: aa 84 ldd r10, Y+10 ; 0x0a
80e: b9 84 ldd r11, Y+9 ; 0x09
810: c8 84 ldd r12, Y+8 ; 0x08
812: df 80 ldd r13, Y+7 ; 0x07
814: ee 80 ldd r14, Y+6 ; 0x06
816: fd 80 ldd r15, Y+5 ; 0x05
818: 0c 81 ldd r16, Y+4 ; 0x04
81a: 1b 81 ldd r17, Y+3 ; 0x03
81c: aa 81 ldd r26, Y+2 ; 0x02
81e: b9 81 ldd r27, Y+1 ; 0x01
820: ce 0f add r28, r30
822: d1 1d adc r29, r1
824: 0f b6 in r0, 0x3f ; 63
826: f8 94 cli
828: de bf out 0x3e, r29 ; 62
82a: 0f be out 0x3f, r0 ; 63
82c: cd bf out 0x3d, r28 ; 61
82e: ed 01 movw r28, r26
830: 08 95 ret
00000832 <_exit>:
832: f8 94 cli
00000834 <__stop_program>:
834: ff cf rjmp .-2 ; 0x834 <__stop_program>