diff --git a/Microcontrollers/ultrasonicSensor/Debug/ultrasonicSensor.lss b/Microcontrollers/ultrasonicSensor/Debug/ultrasonicSensor.lss index 0c1bdfd..7e49b4a 100644 --- a/Microcontrollers/ultrasonicSensor/Debug/ultrasonicSensor.lss +++ b/Microcontrollers/ultrasonicSensor/Debug/ultrasonicSensor.lss @@ -3,29 +3,29 @@ ultrasonicSensor.elf: file format elf32-avr Sections: Idx Name Size VMA LMA File off Algn - 0 .data 00000006 00800100 0000092e 000009a2 2**0 + 0 .data 00000006 00800100 00000928 0000099c 2**0 CONTENTS, ALLOC, LOAD, DATA - 1 .text 0000092e 00000000 00000000 00000074 2**1 + 1 .text 00000928 00000000 00000000 00000074 2**1 CONTENTS, ALLOC, LOAD, READONLY, CODE - 2 .comment 0000005c 00000000 00000000 000009a8 2**0 + 2 .comment 0000005c 00000000 00000000 000009a2 2**0 CONTENTS, READONLY - 3 .note.gnu.avr.deviceinfo 0000003c 00000000 00000000 00000a04 2**2 + 3 .note.gnu.avr.deviceinfo 0000003c 00000000 00000000 00000a00 2**2 CONTENTS, READONLY - 4 .debug_aranges 000000b8 00000000 00000000 00000a40 2**0 + 4 .debug_aranges 000000b8 00000000 00000000 00000a3c 2**0 CONTENTS, READONLY, DEBUGGING - 5 .debug_info 00000fc0 00000000 00000000 00000af8 2**0 + 5 .debug_info 00000fc0 00000000 00000000 00000af4 2**0 CONTENTS, READONLY, DEBUGGING - 6 .debug_abbrev 00000a99 00000000 00000000 00001ab8 2**0 + 6 .debug_abbrev 00000a99 00000000 00000000 00001ab4 2**0 CONTENTS, READONLY, DEBUGGING - 7 .debug_line 00000716 00000000 00000000 00002551 2**0 + 7 .debug_line 00000710 00000000 00000000 0000254d 2**0 CONTENTS, READONLY, DEBUGGING - 8 .debug_frame 000001b4 00000000 00000000 00002c68 2**2 + 8 .debug_frame 000001b4 00000000 00000000 00002c60 2**2 CONTENTS, READONLY, DEBUGGING - 9 .debug_str 0000059a 00000000 00000000 00002e1c 2**0 + 9 .debug_str 0000059a 00000000 00000000 00002e14 2**0 CONTENTS, READONLY, DEBUGGING - 10 .debug_loc 0000049c 00000000 00000000 000033b6 2**0 + 10 .debug_loc 0000049c 00000000 00000000 000033ae 2**0 CONTENTS, READONLY, DEBUGGING - 11 .debug_ranges 00000098 00000000 00000000 00003852 2**0 + 11 .debug_ranges 00000098 00000000 00000000 0000384a 2**0 CONTENTS, READONLY, DEBUGGING Disassembly of section .text: @@ -33,7 +33,7 @@ Disassembly of section .text: 00000000 <__vectors>: 0: 45 c0 rjmp .+138 ; 0x8c <__ctors_end> 2: 00 00 nop - 4: 5a c1 rjmp .+692 ; 0x2ba <__vector_1> + 4: 59 c1 rjmp .+690 ; 0x2b8 <__vector_1> 6: 00 00 nop 8: 56 c0 rjmp .+172 ; 0xb6 <__bad_interrupt> a: 00 00 nop @@ -114,7 +114,7 @@ Disassembly of section .text: 98: 11 e0 ldi r17, 0x01 ; 1 9a: a0 e0 ldi r26, 0x00 ; 0 9c: b1 e0 ldi r27, 0x01 ; 1 - 9e: ee e2 ldi r30, 0x2E ; 46 + 9e: e8 e2 ldi r30, 0x28 ; 40 a0: f9 e0 ldi r31, 0x09 ; 9 a2: 00 e0 ldi r16, 0x00 ; 0 a4: 0b bf out 0x3b, r16 ; 59 @@ -124,8 +124,8 @@ Disassembly of section .text: ac: a6 30 cpi r26, 0x06 ; 6 ae: b1 07 cpc r27, r17 b0: d9 f7 brne .-10 ; 0xa8 <__do_copy_data+0x10> - b2: 2f d1 rcall .+606 ; 0x312
- b4: 3a c4 rjmp .+2164 ; 0x92a <_exit> + b2: 2e d1 rcall .+604 ; 0x310
+ b4: 37 c4 rjmp .+2158 ; 0x924 <_exit> 000000b6 <__bad_interrupt>: b6: a4 cf rjmp .-184 ; 0x0 <__vectors> @@ -238,1136 +238,1132 @@ void lcd_move_right(void){ 164: 8f ef ldi r24, 0xFF ; 255 166: 84 bb out 0x14, r24 ; 20 168: 85 bb out 0x15, r24 ; 21 - 16a: 81 bb out 0x11, r24 ; 17 - 16c: 8a bb out 0x1a, r24 ; 26 - 16e: 15 ba out 0x15, r1 ; 21 - 170: 1b ba out 0x1b, r1 ; 27 - 172: c0 e2 ldi r28, 0x20 ; 32 - 174: c5 bb out 0x15, r28 ; 21 - 176: b7 df rcall .-146 ; 0xe6 - 178: c5 bb out 0x15, r28 ; 21 - 17a: b5 df rcall .-150 ; 0xe6 - 17c: 80 e8 ldi r24, 0x80 ; 128 - 17e: 85 bb out 0x15, r24 ; 21 - 180: b2 df rcall .-156 ; 0xe6 - 182: 15 ba out 0x15, r1 ; 21 - 184: b0 df rcall .-160 ; 0xe6 - 186: 80 ef ldi r24, 0xF0 ; 240 - 188: 85 bb out 0x15, r24 ; 21 - 18a: ad df rcall .-166 ; 0xe6 - 18c: 15 ba out 0x15, r1 ; 21 - 18e: ab df rcall .-170 ; 0xe6 - 190: 80 e6 ldi r24, 0x60 ; 96 - 192: 85 bb out 0x15, r24 ; 21 - 194: a8 df rcall .-176 ; 0xe6 - 196: 82 e0 ldi r24, 0x02 ; 2 - 198: c9 df rcall .-110 ; 0x12c - 19a: a5 df rcall .-182 ; 0xe6 - 19c: cf 91 pop r28 - 19e: 08 95 ret + 16a: 8a bb out 0x1a, r24 ; 26 + 16c: 15 ba out 0x15, r1 ; 21 + 16e: 1b ba out 0x1b, r1 ; 27 + 170: c0 e2 ldi r28, 0x20 ; 32 + 172: c5 bb out 0x15, r28 ; 21 + 174: b8 df rcall .-144 ; 0xe6 + 176: c5 bb out 0x15, r28 ; 21 + 178: b6 df rcall .-148 ; 0xe6 + 17a: 80 e8 ldi r24, 0x80 ; 128 + 17c: 85 bb out 0x15, r24 ; 21 + 17e: b3 df rcall .-154 ; 0xe6 + 180: 15 ba out 0x15, r1 ; 21 + 182: b1 df rcall .-158 ; 0xe6 + 184: 80 ef ldi r24, 0xF0 ; 240 + 186: 85 bb out 0x15, r24 ; 21 + 188: ae df rcall .-164 ; 0xe6 + 18a: 15 ba out 0x15, r1 ; 21 + 18c: ac df rcall .-168 ; 0xe6 + 18e: 80 e6 ldi r24, 0x60 ; 96 + 190: 85 bb out 0x15, r24 ; 21 + 192: a9 df rcall .-174 ; 0xe6 + 194: 82 e0 ldi r24, 0x02 ; 2 + 196: ca df rcall .-108 ; 0x12c + 198: a6 df rcall .-180 ; 0xe6 + 19a: cf 91 pop r28 + 19c: 08 95 ret -000001a0 : - 1a0: cf 93 push r28 - 1a2: df 93 push r29 - 1a4: ec 01 movw r28, r24 - 1a6: 02 c0 rjmp .+4 ; 0x1ac - 1a8: b1 df rcall .-158 ; 0x10c - 1aa: 21 96 adiw r28, 0x01 ; 1 - 1ac: 88 81 ld r24, Y - 1ae: 81 11 cpse r24, r1 - 1b0: fb cf rjmp .-10 ; 0x1a8 - 1b2: df 91 pop r29 - 1b4: cf 91 pop r28 - 1b6: 08 95 ret +0000019e : + 19e: cf 93 push r28 + 1a0: df 93 push r29 + 1a2: ec 01 movw r28, r24 + 1a4: 02 c0 rjmp .+4 ; 0x1aa + 1a6: b2 df rcall .-156 ; 0x10c + 1a8: 21 96 adiw r28, 0x01 ; 1 + 1aa: 88 81 ld r24, Y + 1ac: 81 11 cpse r24, r1 + 1ae: fb cf rjmp .-10 ; 0x1a6 + 1b0: df 91 pop r29 + 1b2: cf 91 pop r28 + 1b4: 08 95 ret -000001b8 : +000001b6 : } void lcd_write_int(int number) { - 1b8: af 92 push r10 - 1ba: bf 92 push r11 - 1bc: cf 92 push r12 - 1be: df 92 push r13 - 1c0: ef 92 push r14 - 1c2: ff 92 push r15 - 1c4: 0f 93 push r16 - 1c6: 1f 93 push r17 - 1c8: cf 93 push r28 - 1ca: df 93 push r29 - 1cc: cd b7 in r28, 0x3d ; 61 - 1ce: de b7 in r29, 0x3e ; 62 - 1d0: d8 2e mov r13, r24 - 1d2: c9 2e mov r12, r25 + 1b6: af 92 push r10 + 1b8: bf 92 push r11 + 1ba: cf 92 push r12 + 1bc: df 92 push r13 + 1be: ef 92 push r14 + 1c0: ff 92 push r15 + 1c2: 0f 93 push r16 + 1c4: 1f 93 push r17 + 1c6: cf 93 push r28 + 1c8: df 93 push r29 + 1ca: cd b7 in r28, 0x3d ; 61 + 1cc: de b7 in r29, 0x3e ; 62 + 1ce: d8 2e mov r13, r24 + 1d0: c9 2e mov r12, r25 int length = snprintf(NULL, 0, "%d", number); char str[length + 1]; snprintf(str, length + 1, "%d", number); lcd_write_string(str); } - 1d4: ad b6 in r10, 0x3d ; 61 - 1d6: be b6 in r11, 0x3e ; 62 + 1d2: ad b6 in r10, 0x3d ; 61 + 1d4: be b6 in r11, 0x3e ; 62 lcd_write_command(0x1E); } void lcd_write_int(int number) { int length = snprintf(NULL, 0, "%d", number); - 1d8: 9f 93 push r25 - 1da: 8f 93 push r24 - 1dc: 0f 2e mov r0, r31 - 1de: f3 e0 ldi r31, 0x03 ; 3 - 1e0: ef 2e mov r14, r31 - 1e2: f1 e0 ldi r31, 0x01 ; 1 - 1e4: ff 2e mov r15, r31 - 1e6: f0 2d mov r31, r0 - 1e8: ff 92 push r15 - 1ea: ef 92 push r14 + 1d6: 9f 93 push r25 + 1d8: 8f 93 push r24 + 1da: 0f 2e mov r0, r31 + 1dc: f3 e0 ldi r31, 0x03 ; 3 + 1de: ef 2e mov r14, r31 + 1e0: f1 e0 ldi r31, 0x01 ; 1 + 1e2: ff 2e mov r15, r31 + 1e4: f0 2d mov r31, r0 + 1e6: ff 92 push r15 + 1e8: ef 92 push r14 + 1ea: 1f 92 push r1 1ec: 1f 92 push r1 1ee: 1f 92 push r1 1f0: 1f 92 push r1 - 1f2: 1f 92 push r1 - 1f4: b1 d0 rcall .+354 ; 0x358 + 1f2: af d0 rcall .+350 ; 0x352 char str[length + 1]; - 1f6: 01 96 adiw r24, 0x01 ; 1 - 1f8: 2d b7 in r18, 0x3d ; 61 - 1fa: 3e b7 in r19, 0x3e ; 62 - 1fc: 28 5f subi r18, 0xF8 ; 248 - 1fe: 3f 4f sbci r19, 0xFF ; 255 - 200: 0f b6 in r0, 0x3f ; 63 - 202: f8 94 cli - 204: 3e bf out 0x3e, r19 ; 62 - 206: 0f be out 0x3f, r0 ; 63 - 208: 2d bf out 0x3d, r18 ; 61 - 20a: 28 1b sub r18, r24 - 20c: 39 0b sbc r19, r25 - 20e: 0f b6 in r0, 0x3f ; 63 - 210: f8 94 cli - 212: 3e bf out 0x3e, r19 ; 62 - 214: 0f be out 0x3f, r0 ; 63 - 216: 2d bf out 0x3d, r18 ; 61 - 218: 0d b7 in r16, 0x3d ; 61 - 21a: 1e b7 in r17, 0x3e ; 62 - 21c: 0f 5f subi r16, 0xFF ; 255 - 21e: 1f 4f sbci r17, 0xFF ; 255 + 1f4: 01 96 adiw r24, 0x01 ; 1 + 1f6: 2d b7 in r18, 0x3d ; 61 + 1f8: 3e b7 in r19, 0x3e ; 62 + 1fa: 28 5f subi r18, 0xF8 ; 248 + 1fc: 3f 4f sbci r19, 0xFF ; 255 + 1fe: 0f b6 in r0, 0x3f ; 63 + 200: f8 94 cli + 202: 3e bf out 0x3e, r19 ; 62 + 204: 0f be out 0x3f, r0 ; 63 + 206: 2d bf out 0x3d, r18 ; 61 + 208: 28 1b sub r18, r24 + 20a: 39 0b sbc r19, r25 + 20c: 0f b6 in r0, 0x3f ; 63 + 20e: f8 94 cli + 210: 3e bf out 0x3e, r19 ; 62 + 212: 0f be out 0x3f, r0 ; 63 + 214: 2d bf out 0x3d, r18 ; 61 + 216: 0d b7 in r16, 0x3d ; 61 + 218: 1e b7 in r17, 0x3e ; 62 + 21a: 0f 5f subi r16, 0xFF ; 255 + 21c: 1f 4f sbci r17, 0xFF ; 255 snprintf(str, length + 1, "%d", number); - 220: cf 92 push r12 - 222: df 92 push r13 - 224: ff 92 push r15 - 226: ef 92 push r14 - 228: 9f 93 push r25 - 22a: 8f 93 push r24 - 22c: 1f 93 push r17 - 22e: 0f 93 push r16 - 230: 93 d0 rcall .+294 ; 0x358 + 21e: cf 92 push r12 + 220: df 92 push r13 + 222: ff 92 push r15 + 224: ef 92 push r14 + 226: 9f 93 push r25 + 228: 8f 93 push r24 + 22a: 1f 93 push r17 + 22c: 0f 93 push r16 + 22e: 91 d0 rcall .+290 ; 0x352 lcd_write_string(str); - 232: 80 2f mov r24, r16 - 234: 91 2f mov r25, r17 - 236: b4 df rcall .-152 ; 0x1a0 + 230: 80 2f mov r24, r16 + 232: 91 2f mov r25, r17 + 234: b4 df rcall .-152 ; 0x19e } - 238: 8d b7 in r24, 0x3d ; 61 - 23a: 9e b7 in r25, 0x3e ; 62 - 23c: 08 96 adiw r24, 0x08 ; 8 - 23e: 0f b6 in r0, 0x3f ; 63 - 240: f8 94 cli - 242: 9e bf out 0x3e, r25 ; 62 - 244: 0f be out 0x3f, r0 ; 63 - 246: 8d bf out 0x3d, r24 ; 61 - 248: 0f b6 in r0, 0x3f ; 63 - 24a: f8 94 cli - 24c: be be out 0x3e, r11 ; 62 - 24e: 0f be out 0x3f, r0 ; 63 - 250: ad be out 0x3d, r10 ; 61 - 252: df 91 pop r29 - 254: cf 91 pop r28 - 256: 1f 91 pop r17 - 258: 0f 91 pop r16 - 25a: ff 90 pop r15 - 25c: ef 90 pop r14 - 25e: df 90 pop r13 - 260: cf 90 pop r12 - 262: bf 90 pop r11 - 264: af 90 pop r10 - 266: 08 95 ret + 236: 8d b7 in r24, 0x3d ; 61 + 238: 9e b7 in r25, 0x3e ; 62 + 23a: 08 96 adiw r24, 0x08 ; 8 + 23c: 0f b6 in r0, 0x3f ; 63 + 23e: f8 94 cli + 240: 9e bf out 0x3e, r25 ; 62 + 242: 0f be out 0x3f, r0 ; 63 + 244: 8d bf out 0x3d, r24 ; 61 + 246: 0f b6 in r0, 0x3f ; 63 + 248: f8 94 cli + 24a: be be out 0x3e, r11 ; 62 + 24c: 0f be out 0x3f, r0 ; 63 + 24e: ad be out 0x3d, r10 ; 61 + 250: df 91 pop r29 + 252: cf 91 pop r28 + 254: 1f 91 pop r17 + 256: 0f 91 pop r16 + 258: ff 90 pop r15 + 25a: ef 90 pop r14 + 25c: df 90 pop r13 + 25e: cf 90 pop r12 + 260: bf 90 pop r11 + 262: af 90 pop r10 + 264: 08 95 ret -00000268 : +00000266 : uint16_t timer_dist = 125; // time measured by timer; void wait_us(unsigned int us) { for(int i = 0; i < us; i++) - 268: 20 e0 ldi r18, 0x00 ; 0 - 26a: 30 e0 ldi r19, 0x00 ; 0 - 26c: 06 c0 rjmp .+12 ; 0x27a + 266: 20 e0 ldi r18, 0x00 ; 0 + 268: 30 e0 ldi r19, 0x00 ; 0 + 26a: 06 c0 rjmp .+12 ; 0x278 #else //round up by default __ticks_dc = (uint32_t)(ceil(fabs(__tmp))); #endif __builtin_avr_delay_cycles(__ticks_dc); - 26e: 46 e0 ldi r20, 0x06 ; 6 - 270: 4a 95 dec r20 - 272: f1 f7 brne .-4 ; 0x270 - 274: 00 c0 rjmp .+0 ; 0x276 - 276: 2f 5f subi r18, 0xFF ; 255 - 278: 3f 4f sbci r19, 0xFF ; 255 - 27a: 28 17 cp r18, r24 - 27c: 39 07 cpc r19, r25 - 27e: b8 f3 brcs .-18 ; 0x26e + 26c: 46 e0 ldi r20, 0x06 ; 6 + 26e: 4a 95 dec r20 + 270: f1 f7 brne .-4 ; 0x26e + 272: 00 c0 rjmp .+0 ; 0x274 + 274: 2f 5f subi r18, 0xFF ; 255 + 276: 3f 4f sbci r19, 0xFF ; 255 + 278: 28 17 cp r18, r24 + 27a: 39 07 cpc r19, r25 + 27c: b8 f3 brcs .-18 ; 0x26c { _delay_us(1); } } - 280: 08 95 ret + 27e: 08 95 ret -00000282 : +00000280 : void wait_ms(unsigned int ms) { for(int i = 0; i < ms; i++) - 282: 20 e0 ldi r18, 0x00 ; 0 - 284: 30 e0 ldi r19, 0x00 ; 0 - 286: 08 c0 rjmp .+16 ; 0x298 + 280: 20 e0 ldi r18, 0x00 ; 0 + 282: 30 e0 ldi r19, 0x00 ; 0 + 284: 08 c0 rjmp .+16 ; 0x296 #else //round up by default __ticks_dc = (uint32_t)(ceil(fabs(__tmp))); #endif __builtin_avr_delay_cycles(__ticks_dc); - 288: e7 e8 ldi r30, 0x87 ; 135 - 28a: f3 e1 ldi r31, 0x13 ; 19 - 28c: 31 97 sbiw r30, 0x01 ; 1 - 28e: f1 f7 brne .-4 ; 0x28c - 290: 00 c0 rjmp .+0 ; 0x292 - 292: 00 00 nop - 294: 2f 5f subi r18, 0xFF ; 255 - 296: 3f 4f sbci r19, 0xFF ; 255 - 298: 28 17 cp r18, r24 - 29a: 39 07 cpc r19, r25 - 29c: a8 f3 brcs .-22 ; 0x288 + 286: e7 e8 ldi r30, 0x87 ; 135 + 288: f3 e1 ldi r31, 0x13 ; 19 + 28a: 31 97 sbiw r30, 0x01 ; 1 + 28c: f1 f7 brne .-4 ; 0x28a + 28e: 00 c0 rjmp .+0 ; 0x290 + 290: 00 00 nop + 292: 2f 5f subi r18, 0xFF ; 255 + 294: 3f 4f sbci r19, 0xFF ; 255 + 296: 28 17 cp r18, r24 + 298: 39 07 cpc r19, r25 + 29a: a8 f3 brcs .-22 ; 0x286 { _delay_ms(1); } } - 29e: 08 95 ret + 29c: 08 95 ret -000002a0 : +0000029e : void ultrasonic_send_pulse() { - 2a0: cf 93 push r28 - 2a2: df 93 push r29 + 29e: cf 93 push r28 + 2a0: df 93 push r29 PORTG = 0x00; // 10 us low pulse - 2a4: c5 e6 ldi r28, 0x65 ; 101 - 2a6: d0 e0 ldi r29, 0x00 ; 0 - 2a8: 18 82 st Y, r1 + 2a2: c5 e6 ldi r28, 0x65 ; 101 + 2a4: d0 e0 ldi r29, 0x00 ; 0 + 2a6: 18 82 st Y, r1 wait_us(10); - 2aa: 8a e0 ldi r24, 0x0A ; 10 - 2ac: 90 e0 ldi r25, 0x00 ; 0 - 2ae: dc df rcall .-72 ; 0x268 + 2a8: 8a e0 ldi r24, 0x0A ; 10 + 2aa: 90 e0 ldi r25, 0x00 ; 0 + 2ac: dc df rcall .-72 ; 0x266 PORTG = 0x01; - 2b0: 81 e0 ldi r24, 0x01 ; 1 - 2b2: 88 83 st Y, r24 + 2ae: 81 e0 ldi r24, 0x01 ; 1 + 2b0: 88 83 st Y, r24 } - 2b4: df 91 pop r29 - 2b6: cf 91 pop r28 - 2b8: 08 95 ret + 2b2: df 91 pop r29 + 2b4: cf 91 pop r28 + 2b6: 08 95 ret -000002ba <__vector_1>: +000002b8 <__vector_1>: ISR(INT0_vect) { - 2ba: 1f 92 push r1 - 2bc: 0f 92 push r0 - 2be: 0f b6 in r0, 0x3f ; 63 - 2c0: 0f 92 push r0 - 2c2: 11 24 eor r1, r1 - 2c4: 8f 93 push r24 - 2c6: 9f 93 push r25 + 2b8: 1f 92 push r1 + 2ba: 0f 92 push r0 + 2bc: 0f b6 in r0, 0x3f ; 63 + 2be: 0f 92 push r0 + 2c0: 11 24 eor r1, r1 + 2c2: 8f 93 push r24 + 2c4: 9f 93 push r25 timer_dist = 2009; - 2c8: 89 ed ldi r24, 0xD9 ; 217 - 2ca: 97 e0 ldi r25, 0x07 ; 7 - 2cc: 90 93 01 01 sts 0x0101, r25 ; 0x800101 <__DATA_REGION_ORIGIN__+0x1> - 2d0: 80 93 00 01 sts 0x0100, r24 ; 0x800100 <__DATA_REGION_ORIGIN__> + 2c6: 89 ed ldi r24, 0xD9 ; 217 + 2c8: 97 e0 ldi r25, 0x07 ; 7 + 2ca: 90 93 01 01 sts 0x0101, r25 ; 0x800101 <__DATA_REGION_ORIGIN__+0x1> + 2ce: 80 93 00 01 sts 0x0100, r24 ; 0x800100 <__DATA_REGION_ORIGIN__> // if the interrupt was generated on a rising edge (start sending echo) if (int_stat == INTERRUPT_RISING) - 2d4: 80 91 02 01 lds r24, 0x0102 ; 0x800102 - 2d8: 81 30 cpi r24, 0x01 ; 1 - 2da: 41 f4 brne .+16 ; 0x2ec <__vector_1+0x32> + 2d2: 80 91 02 01 lds r24, 0x0102 ; 0x800102 + 2d6: 81 30 cpi r24, 0x01 ; 1 + 2d8: 41 f4 brne .+16 ; 0x2ea <__vector_1+0x32> { // set interrupt pin 0 on PORTD to falling edge EICRA = 0x02; - 2dc: 82 e0 ldi r24, 0x02 ; 2 - 2de: 80 93 6a 00 sts 0x006A, r24 ; 0x80006a <__TEXT_REGION_LENGTH__+0x7e006a> + 2da: 82 e0 ldi r24, 0x02 ; 2 + 2dc: 80 93 6a 00 sts 0x006A, r24 ; 0x80006a <__TEXT_REGION_LENGTH__+0x7e006a> // reset the time in timer1 TCNT1 = 0x00; - 2e2: 1d bc out 0x2d, r1 ; 45 - 2e4: 1c bc out 0x2c, r1 ; 44 + 2e0: 1d bc out 0x2d, r1 ; 45 + 2e2: 1c bc out 0x2c, r1 ; 44 // set interrupt status int_stat = INTERRUPT_FALLING; - 2e6: 10 92 02 01 sts 0x0102, r1 ; 0x800102 - 2ea: 0c c0 rjmp .+24 ; 0x304 <__vector_1+0x4a> + 2e4: 10 92 02 01 sts 0x0102, r1 ; 0x800102 + 2e8: 0c c0 rjmp .+24 ; 0x302 <__vector_1+0x4a> } else // else if it was generated on a falling edge (end sending echo) { // set interrupt pin 0 on PORTD to rising edge EICRA = 0x03; - 2ec: 83 e0 ldi r24, 0x03 ; 3 - 2ee: 80 93 6a 00 sts 0x006A, r24 ; 0x80006a <__TEXT_REGION_LENGTH__+0x7e006a> + 2ea: 83 e0 ldi r24, 0x03 ; 3 + 2ec: 80 93 6a 00 sts 0x006A, r24 ; 0x80006a <__TEXT_REGION_LENGTH__+0x7e006a> // read timer1 into time_dist timer_dist = TCNT1; - 2f2: 8c b5 in r24, 0x2c ; 44 - 2f4: 9d b5 in r25, 0x2d ; 45 - 2f6: 90 93 01 01 sts 0x0101, r25 ; 0x800101 <__DATA_REGION_ORIGIN__+0x1> - 2fa: 80 93 00 01 sts 0x0100, r24 ; 0x800100 <__DATA_REGION_ORIGIN__> + 2f0: 8c b5 in r24, 0x2c ; 44 + 2f2: 9d b5 in r25, 0x2d ; 45 + 2f4: 90 93 01 01 sts 0x0101, r25 ; 0x800101 <__DATA_REGION_ORIGIN__+0x1> + 2f8: 80 93 00 01 sts 0x0100, r24 ; 0x800100 <__DATA_REGION_ORIGIN__> // set interrupt status int_stat = INTERRUPT_RISING; - 2fe: 81 e0 ldi r24, 0x01 ; 1 - 300: 80 93 02 01 sts 0x0102, r24 ; 0x800102 + 2fc: 81 e0 ldi r24, 0x01 ; 1 + 2fe: 80 93 02 01 sts 0x0102, r24 ; 0x800102 } } - 304: 9f 91 pop r25 - 306: 8f 91 pop r24 - 308: 0f 90 pop r0 - 30a: 0f be out 0x3f, r0 ; 63 - 30c: 0f 90 pop r0 - 30e: 1f 90 pop r1 - 310: 18 95 reti + 302: 9f 91 pop r25 + 304: 8f 91 pop r24 + 306: 0f 90 pop r0 + 308: 0f be out 0x3f, r0 ; 63 + 30a: 0f 90 pop r0 + 30c: 1f 90 pop r1 + 30e: 18 95 reti -00000312
: +00000310
: int main(void) { DDRG = 0xFF; // port g all output. pin 0 is trig, the rest is for debug - 312: 8f ef ldi r24, 0xFF ; 255 - 314: 80 93 64 00 sts 0x0064, r24 ; 0x800064 <__TEXT_REGION_LENGTH__+0x7e0064> + 310: 8f ef ldi r24, 0xFF ; 255 + 312: 80 93 64 00 sts 0x0064, r24 ; 0x800064 <__TEXT_REGION_LENGTH__+0x7e0064> DDRD = 0x00; // port D pin 0 on input. 0 is echo and also interrupt - 318: 11 ba out 0x11, r1 ; 17 + 316: 11 ba out 0x11, r1 ; 17 - EICRA |= 0x03; // interrupt PORTD on pin 0, rising edge - 31a: ea e6 ldi r30, 0x6A ; 106 - 31c: f0 e0 ldi r31, 0x00 ; 0 - 31e: 80 81 ld r24, Z - 320: 83 60 ori r24, 0x03 ; 3 - 322: 80 83 st Z, r24 + EICRA = 0x03; // interrupt PORTD on pin 0, rising edge + 318: 83 e0 ldi r24, 0x03 ; 3 + 31a: 80 93 6a 00 sts 0x006A, r24 ; 0x80006a <__TEXT_REGION_LENGTH__+0x7e006a> EIMSK |= 0x01; // enable interrupt on pin 0 (INT0) - 324: 89 b7 in r24, 0x39 ; 57 - 326: 81 60 ori r24, 0x01 ; 1 - 328: 89 bf out 0x39, r24 ; 57 + 31e: 89 b7 in r24, 0x39 ; 57 + 320: 81 60 ori r24, 0x01 ; 1 + 322: 89 bf out 0x39, r24 ; 57 TCCR1A = 0b00000000; // initialize timer1, prescaler=256 - 32a: 1f bc out 0x2f, r1 ; 47 + 324: 1f bc out 0x2f, r1 ; 47 TCCR1B = 0b00001100; // CTC compare A, RUN - 32c: 8c e0 ldi r24, 0x0C ; 12 - 32e: 8e bd out 0x2e, r24 ; 46 + 326: 8c e0 ldi r24, 0x0C ; 12 + 328: 8e bd out 0x2e, r24 ; 46 sei(); // turn on interrupt system - 330: 78 94 sei + 32a: 78 94 sei init_4bits_mode(); - 332: 17 df rcall .-466 ; 0x162 - 334: 8f e4 ldi r24, 0x4F ; 79 - 336: 93 ec ldi r25, 0xC3 ; 195 - 338: 01 97 sbiw r24, 0x01 ; 1 - 33a: f1 f7 brne .-4 ; 0x338 - 33c: 00 c0 rjmp .+0 ; 0x33e + 32c: 1a df rcall .-460 ; 0x162 + 32e: 8f e4 ldi r24, 0x4F ; 79 + 330: 93 ec ldi r25, 0xC3 ; 195 + 332: 01 97 sbiw r24, 0x01 ; 1 + 334: f1 f7 brne .-4 ; 0x332 + 336: 00 c0 rjmp .+0 ; 0x338 _delay_ms(10); lcd_clear(); - 33e: 00 00 nop + 338: 00 00 nop while (1) { ultrasonic_send_pulse(); - 340: 05 df rcall .-502 ; 0x14c - 342: ae df rcall .-164 ; 0x2a0 + 33a: 08 df rcall .-496 ; 0x14c + 33c: b0 df rcall .-160 ; 0x29e int distance = timer_dist * 340 / 2; lcd_clear(); - 344: 03 df rcall .-506 ; 0x14c - 346: 80 91 00 01 lds r24, 0x0100 ; 0x800100 <__DATA_REGION_ORIGIN__> + 33e: 06 df rcall .-500 ; 0x14c + 340: 80 91 00 01 lds r24, 0x0100 ; 0x800100 <__DATA_REGION_ORIGIN__> lcd_write_int(timer_dist); - 34a: 90 91 01 01 lds r25, 0x0101 ; 0x800101 <__DATA_REGION_ORIGIN__+0x1> - 34e: 34 df rcall .-408 ; 0x1b8 + 344: 90 91 01 01 lds r25, 0x0101 ; 0x800101 <__DATA_REGION_ORIGIN__+0x1> + 348: 36 df rcall .-404 ; 0x1b6 wait_ms(100); - 350: 84 e6 ldi r24, 0x64 ; 100 - 352: 90 e0 ldi r25, 0x00 ; 0 - 354: 96 df rcall .-212 ; 0x282 - 356: f5 cf rjmp .-22 ; 0x342 + 34a: 84 e6 ldi r24, 0x64 ; 100 + 34c: 90 e0 ldi r25, 0x00 ; 0 + 34e: 98 df rcall .-208 ; 0x280 + 350: f5 cf rjmp .-22 ; 0x33c -00000358 : - 358: 0f 93 push r16 - 35a: 1f 93 push r17 - 35c: cf 93 push r28 - 35e: df 93 push r29 - 360: cd b7 in r28, 0x3d ; 61 - 362: de b7 in r29, 0x3e ; 62 - 364: 2e 97 sbiw r28, 0x0e ; 14 - 366: 0f b6 in r0, 0x3f ; 63 - 368: f8 94 cli - 36a: de bf out 0x3e, r29 ; 62 - 36c: 0f be out 0x3f, r0 ; 63 - 36e: cd bf out 0x3d, r28 ; 61 - 370: 0d 89 ldd r16, Y+21 ; 0x15 - 372: 1e 89 ldd r17, Y+22 ; 0x16 - 374: 8f 89 ldd r24, Y+23 ; 0x17 - 376: 98 8d ldd r25, Y+24 ; 0x18 - 378: 26 e0 ldi r18, 0x06 ; 6 - 37a: 2c 83 std Y+4, r18 ; 0x04 - 37c: 1a 83 std Y+2, r17 ; 0x02 - 37e: 09 83 std Y+1, r16 ; 0x01 - 380: 97 ff sbrs r25, 7 - 382: 02 c0 rjmp .+4 ; 0x388 - 384: 80 e0 ldi r24, 0x00 ; 0 - 386: 90 e8 ldi r25, 0x80 ; 128 - 388: 01 97 sbiw r24, 0x01 ; 1 - 38a: 9e 83 std Y+6, r25 ; 0x06 - 38c: 8d 83 std Y+5, r24 ; 0x05 - 38e: ae 01 movw r20, r28 - 390: 45 5e subi r20, 0xE5 ; 229 - 392: 5f 4f sbci r21, 0xFF ; 255 - 394: 69 8d ldd r22, Y+25 ; 0x19 - 396: 7a 8d ldd r23, Y+26 ; 0x1a - 398: ce 01 movw r24, r28 - 39a: 01 96 adiw r24, 0x01 ; 1 - 39c: 19 d0 rcall .+50 ; 0x3d0 - 39e: 4d 81 ldd r20, Y+5 ; 0x05 - 3a0: 5e 81 ldd r21, Y+6 ; 0x06 - 3a2: 57 fd sbrc r21, 7 - 3a4: 0a c0 rjmp .+20 ; 0x3ba - 3a6: 2f 81 ldd r18, Y+7 ; 0x07 - 3a8: 38 85 ldd r19, Y+8 ; 0x08 - 3aa: 42 17 cp r20, r18 - 3ac: 53 07 cpc r21, r19 - 3ae: 0c f4 brge .+2 ; 0x3b2 - 3b0: 9a 01 movw r18, r20 - 3b2: f8 01 movw r30, r16 - 3b4: e2 0f add r30, r18 - 3b6: f3 1f adc r31, r19 - 3b8: 10 82 st Z, r1 - 3ba: 2e 96 adiw r28, 0x0e ; 14 - 3bc: 0f b6 in r0, 0x3f ; 63 - 3be: f8 94 cli - 3c0: de bf out 0x3e, r29 ; 62 - 3c2: 0f be out 0x3f, r0 ; 63 - 3c4: cd bf out 0x3d, r28 ; 61 - 3c6: df 91 pop r29 - 3c8: cf 91 pop r28 - 3ca: 1f 91 pop r17 - 3cc: 0f 91 pop r16 - 3ce: 08 95 ret +00000352 : + 352: 0f 93 push r16 + 354: 1f 93 push r17 + 356: cf 93 push r28 + 358: df 93 push r29 + 35a: cd b7 in r28, 0x3d ; 61 + 35c: de b7 in r29, 0x3e ; 62 + 35e: 2e 97 sbiw r28, 0x0e ; 14 + 360: 0f b6 in r0, 0x3f ; 63 + 362: f8 94 cli + 364: de bf out 0x3e, r29 ; 62 + 366: 0f be out 0x3f, r0 ; 63 + 368: cd bf out 0x3d, r28 ; 61 + 36a: 0d 89 ldd r16, Y+21 ; 0x15 + 36c: 1e 89 ldd r17, Y+22 ; 0x16 + 36e: 8f 89 ldd r24, Y+23 ; 0x17 + 370: 98 8d ldd r25, Y+24 ; 0x18 + 372: 26 e0 ldi r18, 0x06 ; 6 + 374: 2c 83 std Y+4, r18 ; 0x04 + 376: 1a 83 std Y+2, r17 ; 0x02 + 378: 09 83 std Y+1, r16 ; 0x01 + 37a: 97 ff sbrs r25, 7 + 37c: 02 c0 rjmp .+4 ; 0x382 + 37e: 80 e0 ldi r24, 0x00 ; 0 + 380: 90 e8 ldi r25, 0x80 ; 128 + 382: 01 97 sbiw r24, 0x01 ; 1 + 384: 9e 83 std Y+6, r25 ; 0x06 + 386: 8d 83 std Y+5, r24 ; 0x05 + 388: ae 01 movw r20, r28 + 38a: 45 5e subi r20, 0xE5 ; 229 + 38c: 5f 4f sbci r21, 0xFF ; 255 + 38e: 69 8d ldd r22, Y+25 ; 0x19 + 390: 7a 8d ldd r23, Y+26 ; 0x1a + 392: ce 01 movw r24, r28 + 394: 01 96 adiw r24, 0x01 ; 1 + 396: 19 d0 rcall .+50 ; 0x3ca + 398: 4d 81 ldd r20, Y+5 ; 0x05 + 39a: 5e 81 ldd r21, Y+6 ; 0x06 + 39c: 57 fd sbrc r21, 7 + 39e: 0a c0 rjmp .+20 ; 0x3b4 + 3a0: 2f 81 ldd r18, Y+7 ; 0x07 + 3a2: 38 85 ldd r19, Y+8 ; 0x08 + 3a4: 42 17 cp r20, r18 + 3a6: 53 07 cpc r21, r19 + 3a8: 0c f4 brge .+2 ; 0x3ac + 3aa: 9a 01 movw r18, r20 + 3ac: f8 01 movw r30, r16 + 3ae: e2 0f add r30, r18 + 3b0: f3 1f adc r31, r19 + 3b2: 10 82 st Z, r1 + 3b4: 2e 96 adiw r28, 0x0e ; 14 + 3b6: 0f b6 in r0, 0x3f ; 63 + 3b8: f8 94 cli + 3ba: de bf out 0x3e, r29 ; 62 + 3bc: 0f be out 0x3f, r0 ; 63 + 3be: cd bf out 0x3d, r28 ; 61 + 3c0: df 91 pop r29 + 3c2: cf 91 pop r28 + 3c4: 1f 91 pop r17 + 3c6: 0f 91 pop r16 + 3c8: 08 95 ret -000003d0 : - 3d0: 2f 92 push r2 - 3d2: 3f 92 push r3 - 3d4: 4f 92 push r4 - 3d6: 5f 92 push r5 - 3d8: 6f 92 push r6 - 3da: 7f 92 push r7 - 3dc: 8f 92 push r8 - 3de: 9f 92 push r9 - 3e0: af 92 push r10 - 3e2: bf 92 push r11 - 3e4: cf 92 push r12 - 3e6: df 92 push r13 - 3e8: ef 92 push r14 - 3ea: ff 92 push r15 - 3ec: 0f 93 push r16 - 3ee: 1f 93 push r17 - 3f0: cf 93 push r28 - 3f2: df 93 push r29 - 3f4: cd b7 in r28, 0x3d ; 61 - 3f6: de b7 in r29, 0x3e ; 62 - 3f8: 2b 97 sbiw r28, 0x0b ; 11 - 3fa: 0f b6 in r0, 0x3f ; 63 - 3fc: f8 94 cli - 3fe: de bf out 0x3e, r29 ; 62 - 400: 0f be out 0x3f, r0 ; 63 - 402: cd bf out 0x3d, r28 ; 61 - 404: 6c 01 movw r12, r24 - 406: 7b 01 movw r14, r22 - 408: 8a 01 movw r16, r20 - 40a: fc 01 movw r30, r24 - 40c: 17 82 std Z+7, r1 ; 0x07 - 40e: 16 82 std Z+6, r1 ; 0x06 - 410: 83 81 ldd r24, Z+3 ; 0x03 - 412: 81 ff sbrs r24, 1 - 414: bf c1 rjmp .+894 ; 0x794 <__LOCK_REGION_LENGTH__+0x394> - 416: ce 01 movw r24, r28 - 418: 01 96 adiw r24, 0x01 ; 1 - 41a: 3c 01 movw r6, r24 - 41c: f6 01 movw r30, r12 - 41e: 93 81 ldd r25, Z+3 ; 0x03 - 420: f7 01 movw r30, r14 - 422: 93 fd sbrc r25, 3 - 424: 85 91 lpm r24, Z+ - 426: 93 ff sbrs r25, 3 - 428: 81 91 ld r24, Z+ - 42a: 7f 01 movw r14, r30 - 42c: 88 23 and r24, r24 - 42e: 09 f4 brne .+2 ; 0x432 <__LOCK_REGION_LENGTH__+0x32> - 430: ad c1 rjmp .+858 ; 0x78c <__LOCK_REGION_LENGTH__+0x38c> - 432: 85 32 cpi r24, 0x25 ; 37 - 434: 39 f4 brne .+14 ; 0x444 <__LOCK_REGION_LENGTH__+0x44> - 436: 93 fd sbrc r25, 3 - 438: 85 91 lpm r24, Z+ - 43a: 93 ff sbrs r25, 3 - 43c: 81 91 ld r24, Z+ - 43e: 7f 01 movw r14, r30 - 440: 85 32 cpi r24, 0x25 ; 37 - 442: 21 f4 brne .+8 ; 0x44c <__LOCK_REGION_LENGTH__+0x4c> - 444: b6 01 movw r22, r12 - 446: 90 e0 ldi r25, 0x00 ; 0 - 448: d6 d1 rcall .+940 ; 0x7f6 - 44a: e8 cf rjmp .-48 ; 0x41c <__LOCK_REGION_LENGTH__+0x1c> - 44c: 91 2c mov r9, r1 - 44e: 21 2c mov r2, r1 - 450: 31 2c mov r3, r1 - 452: ff e1 ldi r31, 0x1F ; 31 - 454: f3 15 cp r31, r3 - 456: d8 f0 brcs .+54 ; 0x48e <__LOCK_REGION_LENGTH__+0x8e> - 458: 8b 32 cpi r24, 0x2B ; 43 +000003ca : + 3ca: 2f 92 push r2 + 3cc: 3f 92 push r3 + 3ce: 4f 92 push r4 + 3d0: 5f 92 push r5 + 3d2: 6f 92 push r6 + 3d4: 7f 92 push r7 + 3d6: 8f 92 push r8 + 3d8: 9f 92 push r9 + 3da: af 92 push r10 + 3dc: bf 92 push r11 + 3de: cf 92 push r12 + 3e0: df 92 push r13 + 3e2: ef 92 push r14 + 3e4: ff 92 push r15 + 3e6: 0f 93 push r16 + 3e8: 1f 93 push r17 + 3ea: cf 93 push r28 + 3ec: df 93 push r29 + 3ee: cd b7 in r28, 0x3d ; 61 + 3f0: de b7 in r29, 0x3e ; 62 + 3f2: 2b 97 sbiw r28, 0x0b ; 11 + 3f4: 0f b6 in r0, 0x3f ; 63 + 3f6: f8 94 cli + 3f8: de bf out 0x3e, r29 ; 62 + 3fa: 0f be out 0x3f, r0 ; 63 + 3fc: cd bf out 0x3d, r28 ; 61 + 3fe: 6c 01 movw r12, r24 + 400: 7b 01 movw r14, r22 + 402: 8a 01 movw r16, r20 + 404: fc 01 movw r30, r24 + 406: 17 82 std Z+7, r1 ; 0x07 + 408: 16 82 std Z+6, r1 ; 0x06 + 40a: 83 81 ldd r24, Z+3 ; 0x03 + 40c: 81 ff sbrs r24, 1 + 40e: bf c1 rjmp .+894 ; 0x78e <__LOCK_REGION_LENGTH__+0x38e> + 410: ce 01 movw r24, r28 + 412: 01 96 adiw r24, 0x01 ; 1 + 414: 3c 01 movw r6, r24 + 416: f6 01 movw r30, r12 + 418: 93 81 ldd r25, Z+3 ; 0x03 + 41a: f7 01 movw r30, r14 + 41c: 93 fd sbrc r25, 3 + 41e: 85 91 lpm r24, Z+ + 420: 93 ff sbrs r25, 3 + 422: 81 91 ld r24, Z+ + 424: 7f 01 movw r14, r30 + 426: 88 23 and r24, r24 + 428: 09 f4 brne .+2 ; 0x42c <__LOCK_REGION_LENGTH__+0x2c> + 42a: ad c1 rjmp .+858 ; 0x786 <__LOCK_REGION_LENGTH__+0x386> + 42c: 85 32 cpi r24, 0x25 ; 37 + 42e: 39 f4 brne .+14 ; 0x43e <__LOCK_REGION_LENGTH__+0x3e> + 430: 93 fd sbrc r25, 3 + 432: 85 91 lpm r24, Z+ + 434: 93 ff sbrs r25, 3 + 436: 81 91 ld r24, Z+ + 438: 7f 01 movw r14, r30 + 43a: 85 32 cpi r24, 0x25 ; 37 + 43c: 21 f4 brne .+8 ; 0x446 <__LOCK_REGION_LENGTH__+0x46> + 43e: b6 01 movw r22, r12 + 440: 90 e0 ldi r25, 0x00 ; 0 + 442: d6 d1 rcall .+940 ; 0x7f0 + 444: e8 cf rjmp .-48 ; 0x416 <__LOCK_REGION_LENGTH__+0x16> + 446: 91 2c mov r9, r1 + 448: 21 2c mov r2, r1 + 44a: 31 2c mov r3, r1 + 44c: ff e1 ldi r31, 0x1F ; 31 + 44e: f3 15 cp r31, r3 + 450: d8 f0 brcs .+54 ; 0x488 <__LOCK_REGION_LENGTH__+0x88> + 452: 8b 32 cpi r24, 0x2B ; 43 + 454: 79 f0 breq .+30 ; 0x474 <__LOCK_REGION_LENGTH__+0x74> + 456: 38 f4 brcc .+14 ; 0x466 <__LOCK_REGION_LENGTH__+0x66> + 458: 80 32 cpi r24, 0x20 ; 32 45a: 79 f0 breq .+30 ; 0x47a <__LOCK_REGION_LENGTH__+0x7a> - 45c: 38 f4 brcc .+14 ; 0x46c <__LOCK_REGION_LENGTH__+0x6c> - 45e: 80 32 cpi r24, 0x20 ; 32 - 460: 79 f0 breq .+30 ; 0x480 <__LOCK_REGION_LENGTH__+0x80> - 462: 83 32 cpi r24, 0x23 ; 35 - 464: a1 f4 brne .+40 ; 0x48e <__LOCK_REGION_LENGTH__+0x8e> - 466: 23 2d mov r18, r3 - 468: 20 61 ori r18, 0x10 ; 16 - 46a: 1d c0 rjmp .+58 ; 0x4a6 <__LOCK_REGION_LENGTH__+0xa6> - 46c: 8d 32 cpi r24, 0x2D ; 45 - 46e: 61 f0 breq .+24 ; 0x488 <__LOCK_REGION_LENGTH__+0x88> - 470: 80 33 cpi r24, 0x30 ; 48 - 472: 69 f4 brne .+26 ; 0x48e <__LOCK_REGION_LENGTH__+0x8e> - 474: 23 2d mov r18, r3 - 476: 21 60 ori r18, 0x01 ; 1 - 478: 16 c0 rjmp .+44 ; 0x4a6 <__LOCK_REGION_LENGTH__+0xa6> - 47a: 83 2d mov r24, r3 - 47c: 82 60 ori r24, 0x02 ; 2 - 47e: 38 2e mov r3, r24 - 480: e3 2d mov r30, r3 - 482: e4 60 ori r30, 0x04 ; 4 - 484: 3e 2e mov r3, r30 - 486: 2a c0 rjmp .+84 ; 0x4dc <__LOCK_REGION_LENGTH__+0xdc> - 488: f3 2d mov r31, r3 - 48a: f8 60 ori r31, 0x08 ; 8 - 48c: 1d c0 rjmp .+58 ; 0x4c8 <__LOCK_REGION_LENGTH__+0xc8> - 48e: 37 fc sbrc r3, 7 - 490: 2d c0 rjmp .+90 ; 0x4ec <__LOCK_REGION_LENGTH__+0xec> - 492: 20 ed ldi r18, 0xD0 ; 208 - 494: 28 0f add r18, r24 - 496: 2a 30 cpi r18, 0x0A ; 10 - 498: 40 f0 brcs .+16 ; 0x4aa <__LOCK_REGION_LENGTH__+0xaa> - 49a: 8e 32 cpi r24, 0x2E ; 46 - 49c: b9 f4 brne .+46 ; 0x4cc <__LOCK_REGION_LENGTH__+0xcc> - 49e: 36 fc sbrc r3, 6 - 4a0: 75 c1 rjmp .+746 ; 0x78c <__LOCK_REGION_LENGTH__+0x38c> - 4a2: 23 2d mov r18, r3 - 4a4: 20 64 ori r18, 0x40 ; 64 - 4a6: 32 2e mov r3, r18 - 4a8: 19 c0 rjmp .+50 ; 0x4dc <__LOCK_REGION_LENGTH__+0xdc> - 4aa: 36 fe sbrs r3, 6 - 4ac: 06 c0 rjmp .+12 ; 0x4ba <__LOCK_REGION_LENGTH__+0xba> - 4ae: 8a e0 ldi r24, 0x0A ; 10 - 4b0: 98 9e mul r9, r24 - 4b2: 20 0d add r18, r0 - 4b4: 11 24 eor r1, r1 - 4b6: 92 2e mov r9, r18 - 4b8: 11 c0 rjmp .+34 ; 0x4dc <__LOCK_REGION_LENGTH__+0xdc> - 4ba: ea e0 ldi r30, 0x0A ; 10 - 4bc: 2e 9e mul r2, r30 - 4be: 20 0d add r18, r0 - 4c0: 11 24 eor r1, r1 - 4c2: 22 2e mov r2, r18 - 4c4: f3 2d mov r31, r3 - 4c6: f0 62 ori r31, 0x20 ; 32 - 4c8: 3f 2e mov r3, r31 - 4ca: 08 c0 rjmp .+16 ; 0x4dc <__LOCK_REGION_LENGTH__+0xdc> - 4cc: 8c 36 cpi r24, 0x6C ; 108 - 4ce: 21 f4 brne .+8 ; 0x4d8 <__LOCK_REGION_LENGTH__+0xd8> - 4d0: 83 2d mov r24, r3 - 4d2: 80 68 ori r24, 0x80 ; 128 - 4d4: 38 2e mov r3, r24 - 4d6: 02 c0 rjmp .+4 ; 0x4dc <__LOCK_REGION_LENGTH__+0xdc> - 4d8: 88 36 cpi r24, 0x68 ; 104 - 4da: 41 f4 brne .+16 ; 0x4ec <__LOCK_REGION_LENGTH__+0xec> - 4dc: f7 01 movw r30, r14 - 4de: 93 fd sbrc r25, 3 - 4e0: 85 91 lpm r24, Z+ - 4e2: 93 ff sbrs r25, 3 - 4e4: 81 91 ld r24, Z+ - 4e6: 7f 01 movw r14, r30 - 4e8: 81 11 cpse r24, r1 - 4ea: b3 cf rjmp .-154 ; 0x452 <__LOCK_REGION_LENGTH__+0x52> - 4ec: 98 2f mov r25, r24 - 4ee: 9f 7d andi r25, 0xDF ; 223 - 4f0: 95 54 subi r25, 0x45 ; 69 - 4f2: 93 30 cpi r25, 0x03 ; 3 - 4f4: 28 f4 brcc .+10 ; 0x500 <__LOCK_REGION_LENGTH__+0x100> - 4f6: 0c 5f subi r16, 0xFC ; 252 - 4f8: 1f 4f sbci r17, 0xFF ; 255 - 4fa: 9f e3 ldi r25, 0x3F ; 63 - 4fc: 99 83 std Y+1, r25 ; 0x01 - 4fe: 0d c0 rjmp .+26 ; 0x51a <__LOCK_REGION_LENGTH__+0x11a> - 500: 83 36 cpi r24, 0x63 ; 99 - 502: 31 f0 breq .+12 ; 0x510 <__LOCK_REGION_LENGTH__+0x110> - 504: 83 37 cpi r24, 0x73 ; 115 - 506: 71 f0 breq .+28 ; 0x524 <__LOCK_REGION_LENGTH__+0x124> - 508: 83 35 cpi r24, 0x53 ; 83 - 50a: 09 f0 breq .+2 ; 0x50e <__LOCK_REGION_LENGTH__+0x10e> - 50c: 55 c0 rjmp .+170 ; 0x5b8 <__LOCK_REGION_LENGTH__+0x1b8> - 50e: 20 c0 rjmp .+64 ; 0x550 <__LOCK_REGION_LENGTH__+0x150> - 510: f8 01 movw r30, r16 - 512: 80 81 ld r24, Z - 514: 89 83 std Y+1, r24 ; 0x01 - 516: 0e 5f subi r16, 0xFE ; 254 - 518: 1f 4f sbci r17, 0xFF ; 255 - 51a: 88 24 eor r8, r8 - 51c: 83 94 inc r8 - 51e: 91 2c mov r9, r1 - 520: 53 01 movw r10, r6 - 522: 12 c0 rjmp .+36 ; 0x548 <__LOCK_REGION_LENGTH__+0x148> - 524: 28 01 movw r4, r16 - 526: f2 e0 ldi r31, 0x02 ; 2 - 528: 4f 0e add r4, r31 - 52a: 51 1c adc r5, r1 - 52c: f8 01 movw r30, r16 - 52e: a0 80 ld r10, Z - 530: b1 80 ldd r11, Z+1 ; 0x01 - 532: 36 fe sbrs r3, 6 - 534: 03 c0 rjmp .+6 ; 0x53c <__LOCK_REGION_LENGTH__+0x13c> - 536: 69 2d mov r22, r9 - 538: 70 e0 ldi r23, 0x00 ; 0 - 53a: 02 c0 rjmp .+4 ; 0x540 <__LOCK_REGION_LENGTH__+0x140> - 53c: 6f ef ldi r22, 0xFF ; 255 - 53e: 7f ef ldi r23, 0xFF ; 255 - 540: c5 01 movw r24, r10 - 542: 4e d1 rcall .+668 ; 0x7e0 - 544: 4c 01 movw r8, r24 - 546: 82 01 movw r16, r4 - 548: f3 2d mov r31, r3 - 54a: ff 77 andi r31, 0x7F ; 127 - 54c: 3f 2e mov r3, r31 - 54e: 15 c0 rjmp .+42 ; 0x57a <__LOCK_REGION_LENGTH__+0x17a> - 550: 28 01 movw r4, r16 - 552: 22 e0 ldi r18, 0x02 ; 2 - 554: 42 0e add r4, r18 - 556: 51 1c adc r5, r1 - 558: f8 01 movw r30, r16 - 55a: a0 80 ld r10, Z - 55c: b1 80 ldd r11, Z+1 ; 0x01 - 55e: 36 fe sbrs r3, 6 - 560: 03 c0 rjmp .+6 ; 0x568 <__LOCK_REGION_LENGTH__+0x168> - 562: 69 2d mov r22, r9 - 564: 70 e0 ldi r23, 0x00 ; 0 - 566: 02 c0 rjmp .+4 ; 0x56c <__LOCK_REGION_LENGTH__+0x16c> - 568: 6f ef ldi r22, 0xFF ; 255 - 56a: 7f ef ldi r23, 0xFF ; 255 - 56c: c5 01 movw r24, r10 - 56e: 2d d1 rcall .+602 ; 0x7ca - 570: 4c 01 movw r8, r24 - 572: f3 2d mov r31, r3 - 574: f0 68 ori r31, 0x80 ; 128 - 576: 3f 2e mov r3, r31 - 578: 82 01 movw r16, r4 - 57a: 33 fc sbrc r3, 3 - 57c: 19 c0 rjmp .+50 ; 0x5b0 <__LOCK_REGION_LENGTH__+0x1b0> - 57e: 82 2d mov r24, r2 - 580: 90 e0 ldi r25, 0x00 ; 0 - 582: 88 16 cp r8, r24 - 584: 99 06 cpc r9, r25 - 586: a0 f4 brcc .+40 ; 0x5b0 <__LOCK_REGION_LENGTH__+0x1b0> - 588: b6 01 movw r22, r12 - 58a: 80 e2 ldi r24, 0x20 ; 32 - 58c: 90 e0 ldi r25, 0x00 ; 0 - 58e: 33 d1 rcall .+614 ; 0x7f6 - 590: 2a 94 dec r2 - 592: f5 cf rjmp .-22 ; 0x57e <__LOCK_REGION_LENGTH__+0x17e> - 594: f5 01 movw r30, r10 - 596: 37 fc sbrc r3, 7 - 598: 85 91 lpm r24, Z+ - 59a: 37 fe sbrs r3, 7 - 59c: 81 91 ld r24, Z+ - 59e: 5f 01 movw r10, r30 - 5a0: b6 01 movw r22, r12 - 5a2: 90 e0 ldi r25, 0x00 ; 0 - 5a4: 28 d1 rcall .+592 ; 0x7f6 - 5a6: 21 10 cpse r2, r1 - 5a8: 2a 94 dec r2 - 5aa: 21 e0 ldi r18, 0x01 ; 1 - 5ac: 82 1a sub r8, r18 - 5ae: 91 08 sbc r9, r1 - 5b0: 81 14 cp r8, r1 - 5b2: 91 04 cpc r9, r1 - 5b4: 79 f7 brne .-34 ; 0x594 <__LOCK_REGION_LENGTH__+0x194> - 5b6: e1 c0 rjmp .+450 ; 0x77a <__LOCK_REGION_LENGTH__+0x37a> - 5b8: 84 36 cpi r24, 0x64 ; 100 - 5ba: 11 f0 breq .+4 ; 0x5c0 <__LOCK_REGION_LENGTH__+0x1c0> - 5bc: 89 36 cpi r24, 0x69 ; 105 - 5be: 39 f5 brne .+78 ; 0x60e <__LOCK_REGION_LENGTH__+0x20e> - 5c0: f8 01 movw r30, r16 - 5c2: 37 fe sbrs r3, 7 - 5c4: 07 c0 rjmp .+14 ; 0x5d4 <__LOCK_REGION_LENGTH__+0x1d4> - 5c6: 60 81 ld r22, Z - 5c8: 71 81 ldd r23, Z+1 ; 0x01 - 5ca: 82 81 ldd r24, Z+2 ; 0x02 - 5cc: 93 81 ldd r25, Z+3 ; 0x03 - 5ce: 0c 5f subi r16, 0xFC ; 252 - 5d0: 1f 4f sbci r17, 0xFF ; 255 - 5d2: 08 c0 rjmp .+16 ; 0x5e4 <__LOCK_REGION_LENGTH__+0x1e4> - 5d4: 60 81 ld r22, Z - 5d6: 71 81 ldd r23, Z+1 ; 0x01 - 5d8: 07 2e mov r0, r23 - 5da: 00 0c add r0, r0 - 5dc: 88 0b sbc r24, r24 - 5de: 99 0b sbc r25, r25 - 5e0: 0e 5f subi r16, 0xFE ; 254 - 5e2: 1f 4f sbci r17, 0xFF ; 255 - 5e4: f3 2d mov r31, r3 - 5e6: ff 76 andi r31, 0x6F ; 111 - 5e8: 3f 2e mov r3, r31 - 5ea: 97 ff sbrs r25, 7 - 5ec: 09 c0 rjmp .+18 ; 0x600 <__LOCK_REGION_LENGTH__+0x200> - 5ee: 90 95 com r25 - 5f0: 80 95 com r24 - 5f2: 70 95 com r23 - 5f4: 61 95 neg r22 - 5f6: 7f 4f sbci r23, 0xFF ; 255 - 5f8: 8f 4f sbci r24, 0xFF ; 255 - 5fa: 9f 4f sbci r25, 0xFF ; 255 - 5fc: f0 68 ori r31, 0x80 ; 128 - 5fe: 3f 2e mov r3, r31 - 600: 2a e0 ldi r18, 0x0A ; 10 - 602: 30 e0 ldi r19, 0x00 ; 0 - 604: a3 01 movw r20, r6 - 606: 33 d1 rcall .+614 ; 0x86e <__ultoa_invert> - 608: 88 2e mov r8, r24 - 60a: 86 18 sub r8, r6 - 60c: 44 c0 rjmp .+136 ; 0x696 <__LOCK_REGION_LENGTH__+0x296> - 60e: 85 37 cpi r24, 0x75 ; 117 - 610: 31 f4 brne .+12 ; 0x61e <__LOCK_REGION_LENGTH__+0x21e> - 612: 23 2d mov r18, r3 - 614: 2f 7e andi r18, 0xEF ; 239 - 616: b2 2e mov r11, r18 - 618: 2a e0 ldi r18, 0x0A ; 10 - 61a: 30 e0 ldi r19, 0x00 ; 0 - 61c: 25 c0 rjmp .+74 ; 0x668 <__LOCK_REGION_LENGTH__+0x268> - 61e: 93 2d mov r25, r3 - 620: 99 7f andi r25, 0xF9 ; 249 - 622: b9 2e mov r11, r25 - 624: 8f 36 cpi r24, 0x6F ; 111 - 626: c1 f0 breq .+48 ; 0x658 <__LOCK_REGION_LENGTH__+0x258> - 628: 18 f4 brcc .+6 ; 0x630 <__LOCK_REGION_LENGTH__+0x230> - 62a: 88 35 cpi r24, 0x58 ; 88 - 62c: 79 f0 breq .+30 ; 0x64c <__LOCK_REGION_LENGTH__+0x24c> - 62e: ae c0 rjmp .+348 ; 0x78c <__LOCK_REGION_LENGTH__+0x38c> - 630: 80 37 cpi r24, 0x70 ; 112 - 632: 19 f0 breq .+6 ; 0x63a <__LOCK_REGION_LENGTH__+0x23a> - 634: 88 37 cpi r24, 0x78 ; 120 - 636: 21 f0 breq .+8 ; 0x640 <__LOCK_REGION_LENGTH__+0x240> - 638: a9 c0 rjmp .+338 ; 0x78c <__LOCK_REGION_LENGTH__+0x38c> - 63a: e9 2f mov r30, r25 - 63c: e0 61 ori r30, 0x10 ; 16 - 63e: be 2e mov r11, r30 - 640: b4 fe sbrs r11, 4 - 642: 0d c0 rjmp .+26 ; 0x65e <__LOCK_REGION_LENGTH__+0x25e> - 644: fb 2d mov r31, r11 - 646: f4 60 ori r31, 0x04 ; 4 - 648: bf 2e mov r11, r31 - 64a: 09 c0 rjmp .+18 ; 0x65e <__LOCK_REGION_LENGTH__+0x25e> - 64c: 34 fe sbrs r3, 4 - 64e: 0a c0 rjmp .+20 ; 0x664 <__LOCK_REGION_LENGTH__+0x264> - 650: 29 2f mov r18, r25 - 652: 26 60 ori r18, 0x06 ; 6 - 654: b2 2e mov r11, r18 - 656: 06 c0 rjmp .+12 ; 0x664 <__LOCK_REGION_LENGTH__+0x264> - 658: 28 e0 ldi r18, 0x08 ; 8 + 45c: 83 32 cpi r24, 0x23 ; 35 + 45e: a1 f4 brne .+40 ; 0x488 <__LOCK_REGION_LENGTH__+0x88> + 460: 23 2d mov r18, r3 + 462: 20 61 ori r18, 0x10 ; 16 + 464: 1d c0 rjmp .+58 ; 0x4a0 <__LOCK_REGION_LENGTH__+0xa0> + 466: 8d 32 cpi r24, 0x2D ; 45 + 468: 61 f0 breq .+24 ; 0x482 <__LOCK_REGION_LENGTH__+0x82> + 46a: 80 33 cpi r24, 0x30 ; 48 + 46c: 69 f4 brne .+26 ; 0x488 <__LOCK_REGION_LENGTH__+0x88> + 46e: 23 2d mov r18, r3 + 470: 21 60 ori r18, 0x01 ; 1 + 472: 16 c0 rjmp .+44 ; 0x4a0 <__LOCK_REGION_LENGTH__+0xa0> + 474: 83 2d mov r24, r3 + 476: 82 60 ori r24, 0x02 ; 2 + 478: 38 2e mov r3, r24 + 47a: e3 2d mov r30, r3 + 47c: e4 60 ori r30, 0x04 ; 4 + 47e: 3e 2e mov r3, r30 + 480: 2a c0 rjmp .+84 ; 0x4d6 <__LOCK_REGION_LENGTH__+0xd6> + 482: f3 2d mov r31, r3 + 484: f8 60 ori r31, 0x08 ; 8 + 486: 1d c0 rjmp .+58 ; 0x4c2 <__LOCK_REGION_LENGTH__+0xc2> + 488: 37 fc sbrc r3, 7 + 48a: 2d c0 rjmp .+90 ; 0x4e6 <__LOCK_REGION_LENGTH__+0xe6> + 48c: 20 ed ldi r18, 0xD0 ; 208 + 48e: 28 0f add r18, r24 + 490: 2a 30 cpi r18, 0x0A ; 10 + 492: 40 f0 brcs .+16 ; 0x4a4 <__LOCK_REGION_LENGTH__+0xa4> + 494: 8e 32 cpi r24, 0x2E ; 46 + 496: b9 f4 brne .+46 ; 0x4c6 <__LOCK_REGION_LENGTH__+0xc6> + 498: 36 fc sbrc r3, 6 + 49a: 75 c1 rjmp .+746 ; 0x786 <__LOCK_REGION_LENGTH__+0x386> + 49c: 23 2d mov r18, r3 + 49e: 20 64 ori r18, 0x40 ; 64 + 4a0: 32 2e mov r3, r18 + 4a2: 19 c0 rjmp .+50 ; 0x4d6 <__LOCK_REGION_LENGTH__+0xd6> + 4a4: 36 fe sbrs r3, 6 + 4a6: 06 c0 rjmp .+12 ; 0x4b4 <__LOCK_REGION_LENGTH__+0xb4> + 4a8: 8a e0 ldi r24, 0x0A ; 10 + 4aa: 98 9e mul r9, r24 + 4ac: 20 0d add r18, r0 + 4ae: 11 24 eor r1, r1 + 4b0: 92 2e mov r9, r18 + 4b2: 11 c0 rjmp .+34 ; 0x4d6 <__LOCK_REGION_LENGTH__+0xd6> + 4b4: ea e0 ldi r30, 0x0A ; 10 + 4b6: 2e 9e mul r2, r30 + 4b8: 20 0d add r18, r0 + 4ba: 11 24 eor r1, r1 + 4bc: 22 2e mov r2, r18 + 4be: f3 2d mov r31, r3 + 4c0: f0 62 ori r31, 0x20 ; 32 + 4c2: 3f 2e mov r3, r31 + 4c4: 08 c0 rjmp .+16 ; 0x4d6 <__LOCK_REGION_LENGTH__+0xd6> + 4c6: 8c 36 cpi r24, 0x6C ; 108 + 4c8: 21 f4 brne .+8 ; 0x4d2 <__LOCK_REGION_LENGTH__+0xd2> + 4ca: 83 2d mov r24, r3 + 4cc: 80 68 ori r24, 0x80 ; 128 + 4ce: 38 2e mov r3, r24 + 4d0: 02 c0 rjmp .+4 ; 0x4d6 <__LOCK_REGION_LENGTH__+0xd6> + 4d2: 88 36 cpi r24, 0x68 ; 104 + 4d4: 41 f4 brne .+16 ; 0x4e6 <__LOCK_REGION_LENGTH__+0xe6> + 4d6: f7 01 movw r30, r14 + 4d8: 93 fd sbrc r25, 3 + 4da: 85 91 lpm r24, Z+ + 4dc: 93 ff sbrs r25, 3 + 4de: 81 91 ld r24, Z+ + 4e0: 7f 01 movw r14, r30 + 4e2: 81 11 cpse r24, r1 + 4e4: b3 cf rjmp .-154 ; 0x44c <__LOCK_REGION_LENGTH__+0x4c> + 4e6: 98 2f mov r25, r24 + 4e8: 9f 7d andi r25, 0xDF ; 223 + 4ea: 95 54 subi r25, 0x45 ; 69 + 4ec: 93 30 cpi r25, 0x03 ; 3 + 4ee: 28 f4 brcc .+10 ; 0x4fa <__LOCK_REGION_LENGTH__+0xfa> + 4f0: 0c 5f subi r16, 0xFC ; 252 + 4f2: 1f 4f sbci r17, 0xFF ; 255 + 4f4: 9f e3 ldi r25, 0x3F ; 63 + 4f6: 99 83 std Y+1, r25 ; 0x01 + 4f8: 0d c0 rjmp .+26 ; 0x514 <__LOCK_REGION_LENGTH__+0x114> + 4fa: 83 36 cpi r24, 0x63 ; 99 + 4fc: 31 f0 breq .+12 ; 0x50a <__LOCK_REGION_LENGTH__+0x10a> + 4fe: 83 37 cpi r24, 0x73 ; 115 + 500: 71 f0 breq .+28 ; 0x51e <__LOCK_REGION_LENGTH__+0x11e> + 502: 83 35 cpi r24, 0x53 ; 83 + 504: 09 f0 breq .+2 ; 0x508 <__LOCK_REGION_LENGTH__+0x108> + 506: 55 c0 rjmp .+170 ; 0x5b2 <__LOCK_REGION_LENGTH__+0x1b2> + 508: 20 c0 rjmp .+64 ; 0x54a <__LOCK_REGION_LENGTH__+0x14a> + 50a: f8 01 movw r30, r16 + 50c: 80 81 ld r24, Z + 50e: 89 83 std Y+1, r24 ; 0x01 + 510: 0e 5f subi r16, 0xFE ; 254 + 512: 1f 4f sbci r17, 0xFF ; 255 + 514: 88 24 eor r8, r8 + 516: 83 94 inc r8 + 518: 91 2c mov r9, r1 + 51a: 53 01 movw r10, r6 + 51c: 12 c0 rjmp .+36 ; 0x542 <__LOCK_REGION_LENGTH__+0x142> + 51e: 28 01 movw r4, r16 + 520: f2 e0 ldi r31, 0x02 ; 2 + 522: 4f 0e add r4, r31 + 524: 51 1c adc r5, r1 + 526: f8 01 movw r30, r16 + 528: a0 80 ld r10, Z + 52a: b1 80 ldd r11, Z+1 ; 0x01 + 52c: 36 fe sbrs r3, 6 + 52e: 03 c0 rjmp .+6 ; 0x536 <__LOCK_REGION_LENGTH__+0x136> + 530: 69 2d mov r22, r9 + 532: 70 e0 ldi r23, 0x00 ; 0 + 534: 02 c0 rjmp .+4 ; 0x53a <__LOCK_REGION_LENGTH__+0x13a> + 536: 6f ef ldi r22, 0xFF ; 255 + 538: 7f ef ldi r23, 0xFF ; 255 + 53a: c5 01 movw r24, r10 + 53c: 4e d1 rcall .+668 ; 0x7da + 53e: 4c 01 movw r8, r24 + 540: 82 01 movw r16, r4 + 542: f3 2d mov r31, r3 + 544: ff 77 andi r31, 0x7F ; 127 + 546: 3f 2e mov r3, r31 + 548: 15 c0 rjmp .+42 ; 0x574 <__LOCK_REGION_LENGTH__+0x174> + 54a: 28 01 movw r4, r16 + 54c: 22 e0 ldi r18, 0x02 ; 2 + 54e: 42 0e add r4, r18 + 550: 51 1c adc r5, r1 + 552: f8 01 movw r30, r16 + 554: a0 80 ld r10, Z + 556: b1 80 ldd r11, Z+1 ; 0x01 + 558: 36 fe sbrs r3, 6 + 55a: 03 c0 rjmp .+6 ; 0x562 <__LOCK_REGION_LENGTH__+0x162> + 55c: 69 2d mov r22, r9 + 55e: 70 e0 ldi r23, 0x00 ; 0 + 560: 02 c0 rjmp .+4 ; 0x566 <__LOCK_REGION_LENGTH__+0x166> + 562: 6f ef ldi r22, 0xFF ; 255 + 564: 7f ef ldi r23, 0xFF ; 255 + 566: c5 01 movw r24, r10 + 568: 2d d1 rcall .+602 ; 0x7c4 + 56a: 4c 01 movw r8, r24 + 56c: f3 2d mov r31, r3 + 56e: f0 68 ori r31, 0x80 ; 128 + 570: 3f 2e mov r3, r31 + 572: 82 01 movw r16, r4 + 574: 33 fc sbrc r3, 3 + 576: 19 c0 rjmp .+50 ; 0x5aa <__LOCK_REGION_LENGTH__+0x1aa> + 578: 82 2d mov r24, r2 + 57a: 90 e0 ldi r25, 0x00 ; 0 + 57c: 88 16 cp r8, r24 + 57e: 99 06 cpc r9, r25 + 580: a0 f4 brcc .+40 ; 0x5aa <__LOCK_REGION_LENGTH__+0x1aa> + 582: b6 01 movw r22, r12 + 584: 80 e2 ldi r24, 0x20 ; 32 + 586: 90 e0 ldi r25, 0x00 ; 0 + 588: 33 d1 rcall .+614 ; 0x7f0 + 58a: 2a 94 dec r2 + 58c: f5 cf rjmp .-22 ; 0x578 <__LOCK_REGION_LENGTH__+0x178> + 58e: f5 01 movw r30, r10 + 590: 37 fc sbrc r3, 7 + 592: 85 91 lpm r24, Z+ + 594: 37 fe sbrs r3, 7 + 596: 81 91 ld r24, Z+ + 598: 5f 01 movw r10, r30 + 59a: b6 01 movw r22, r12 + 59c: 90 e0 ldi r25, 0x00 ; 0 + 59e: 28 d1 rcall .+592 ; 0x7f0 + 5a0: 21 10 cpse r2, r1 + 5a2: 2a 94 dec r2 + 5a4: 21 e0 ldi r18, 0x01 ; 1 + 5a6: 82 1a sub r8, r18 + 5a8: 91 08 sbc r9, r1 + 5aa: 81 14 cp r8, r1 + 5ac: 91 04 cpc r9, r1 + 5ae: 79 f7 brne .-34 ; 0x58e <__LOCK_REGION_LENGTH__+0x18e> + 5b0: e1 c0 rjmp .+450 ; 0x774 <__LOCK_REGION_LENGTH__+0x374> + 5b2: 84 36 cpi r24, 0x64 ; 100 + 5b4: 11 f0 breq .+4 ; 0x5ba <__LOCK_REGION_LENGTH__+0x1ba> + 5b6: 89 36 cpi r24, 0x69 ; 105 + 5b8: 39 f5 brne .+78 ; 0x608 <__LOCK_REGION_LENGTH__+0x208> + 5ba: f8 01 movw r30, r16 + 5bc: 37 fe sbrs r3, 7 + 5be: 07 c0 rjmp .+14 ; 0x5ce <__LOCK_REGION_LENGTH__+0x1ce> + 5c0: 60 81 ld r22, Z + 5c2: 71 81 ldd r23, Z+1 ; 0x01 + 5c4: 82 81 ldd r24, Z+2 ; 0x02 + 5c6: 93 81 ldd r25, Z+3 ; 0x03 + 5c8: 0c 5f subi r16, 0xFC ; 252 + 5ca: 1f 4f sbci r17, 0xFF ; 255 + 5cc: 08 c0 rjmp .+16 ; 0x5de <__LOCK_REGION_LENGTH__+0x1de> + 5ce: 60 81 ld r22, Z + 5d0: 71 81 ldd r23, Z+1 ; 0x01 + 5d2: 07 2e mov r0, r23 + 5d4: 00 0c add r0, r0 + 5d6: 88 0b sbc r24, r24 + 5d8: 99 0b sbc r25, r25 + 5da: 0e 5f subi r16, 0xFE ; 254 + 5dc: 1f 4f sbci r17, 0xFF ; 255 + 5de: f3 2d mov r31, r3 + 5e0: ff 76 andi r31, 0x6F ; 111 + 5e2: 3f 2e mov r3, r31 + 5e4: 97 ff sbrs r25, 7 + 5e6: 09 c0 rjmp .+18 ; 0x5fa <__LOCK_REGION_LENGTH__+0x1fa> + 5e8: 90 95 com r25 + 5ea: 80 95 com r24 + 5ec: 70 95 com r23 + 5ee: 61 95 neg r22 + 5f0: 7f 4f sbci r23, 0xFF ; 255 + 5f2: 8f 4f sbci r24, 0xFF ; 255 + 5f4: 9f 4f sbci r25, 0xFF ; 255 + 5f6: f0 68 ori r31, 0x80 ; 128 + 5f8: 3f 2e mov r3, r31 + 5fa: 2a e0 ldi r18, 0x0A ; 10 + 5fc: 30 e0 ldi r19, 0x00 ; 0 + 5fe: a3 01 movw r20, r6 + 600: 33 d1 rcall .+614 ; 0x868 <__ultoa_invert> + 602: 88 2e mov r8, r24 + 604: 86 18 sub r8, r6 + 606: 44 c0 rjmp .+136 ; 0x690 <__LOCK_REGION_LENGTH__+0x290> + 608: 85 37 cpi r24, 0x75 ; 117 + 60a: 31 f4 brne .+12 ; 0x618 <__LOCK_REGION_LENGTH__+0x218> + 60c: 23 2d mov r18, r3 + 60e: 2f 7e andi r18, 0xEF ; 239 + 610: b2 2e mov r11, r18 + 612: 2a e0 ldi r18, 0x0A ; 10 + 614: 30 e0 ldi r19, 0x00 ; 0 + 616: 25 c0 rjmp .+74 ; 0x662 <__LOCK_REGION_LENGTH__+0x262> + 618: 93 2d mov r25, r3 + 61a: 99 7f andi r25, 0xF9 ; 249 + 61c: b9 2e mov r11, r25 + 61e: 8f 36 cpi r24, 0x6F ; 111 + 620: c1 f0 breq .+48 ; 0x652 <__LOCK_REGION_LENGTH__+0x252> + 622: 18 f4 brcc .+6 ; 0x62a <__LOCK_REGION_LENGTH__+0x22a> + 624: 88 35 cpi r24, 0x58 ; 88 + 626: 79 f0 breq .+30 ; 0x646 <__LOCK_REGION_LENGTH__+0x246> + 628: ae c0 rjmp .+348 ; 0x786 <__LOCK_REGION_LENGTH__+0x386> + 62a: 80 37 cpi r24, 0x70 ; 112 + 62c: 19 f0 breq .+6 ; 0x634 <__LOCK_REGION_LENGTH__+0x234> + 62e: 88 37 cpi r24, 0x78 ; 120 + 630: 21 f0 breq .+8 ; 0x63a <__LOCK_REGION_LENGTH__+0x23a> + 632: a9 c0 rjmp .+338 ; 0x786 <__LOCK_REGION_LENGTH__+0x386> + 634: e9 2f mov r30, r25 + 636: e0 61 ori r30, 0x10 ; 16 + 638: be 2e mov r11, r30 + 63a: b4 fe sbrs r11, 4 + 63c: 0d c0 rjmp .+26 ; 0x658 <__LOCK_REGION_LENGTH__+0x258> + 63e: fb 2d mov r31, r11 + 640: f4 60 ori r31, 0x04 ; 4 + 642: bf 2e mov r11, r31 + 644: 09 c0 rjmp .+18 ; 0x658 <__LOCK_REGION_LENGTH__+0x258> + 646: 34 fe sbrs r3, 4 + 648: 0a c0 rjmp .+20 ; 0x65e <__LOCK_REGION_LENGTH__+0x25e> + 64a: 29 2f mov r18, r25 + 64c: 26 60 ori r18, 0x06 ; 6 + 64e: b2 2e mov r11, r18 + 650: 06 c0 rjmp .+12 ; 0x65e <__LOCK_REGION_LENGTH__+0x25e> + 652: 28 e0 ldi r18, 0x08 ; 8 + 654: 30 e0 ldi r19, 0x00 ; 0 + 656: 05 c0 rjmp .+10 ; 0x662 <__LOCK_REGION_LENGTH__+0x262> + 658: 20 e1 ldi r18, 0x10 ; 16 65a: 30 e0 ldi r19, 0x00 ; 0 - 65c: 05 c0 rjmp .+10 ; 0x668 <__LOCK_REGION_LENGTH__+0x268> + 65c: 02 c0 rjmp .+4 ; 0x662 <__LOCK_REGION_LENGTH__+0x262> 65e: 20 e1 ldi r18, 0x10 ; 16 - 660: 30 e0 ldi r19, 0x00 ; 0 - 662: 02 c0 rjmp .+4 ; 0x668 <__LOCK_REGION_LENGTH__+0x268> - 664: 20 e1 ldi r18, 0x10 ; 16 - 666: 32 e0 ldi r19, 0x02 ; 2 - 668: f8 01 movw r30, r16 - 66a: b7 fe sbrs r11, 7 - 66c: 07 c0 rjmp .+14 ; 0x67c <__LOCK_REGION_LENGTH__+0x27c> - 66e: 60 81 ld r22, Z - 670: 71 81 ldd r23, Z+1 ; 0x01 - 672: 82 81 ldd r24, Z+2 ; 0x02 - 674: 93 81 ldd r25, Z+3 ; 0x03 - 676: 0c 5f subi r16, 0xFC ; 252 - 678: 1f 4f sbci r17, 0xFF ; 255 - 67a: 06 c0 rjmp .+12 ; 0x688 <__LOCK_REGION_LENGTH__+0x288> - 67c: 60 81 ld r22, Z - 67e: 71 81 ldd r23, Z+1 ; 0x01 - 680: 80 e0 ldi r24, 0x00 ; 0 - 682: 90 e0 ldi r25, 0x00 ; 0 - 684: 0e 5f subi r16, 0xFE ; 254 - 686: 1f 4f sbci r17, 0xFF ; 255 - 688: a3 01 movw r20, r6 - 68a: f1 d0 rcall .+482 ; 0x86e <__ultoa_invert> - 68c: 88 2e mov r8, r24 - 68e: 86 18 sub r8, r6 - 690: fb 2d mov r31, r11 - 692: ff 77 andi r31, 0x7F ; 127 - 694: 3f 2e mov r3, r31 - 696: 36 fe sbrs r3, 6 - 698: 0d c0 rjmp .+26 ; 0x6b4 <__LOCK_REGION_LENGTH__+0x2b4> - 69a: 23 2d mov r18, r3 - 69c: 2e 7f andi r18, 0xFE ; 254 - 69e: a2 2e mov r10, r18 - 6a0: 89 14 cp r8, r9 - 6a2: 58 f4 brcc .+22 ; 0x6ba <__LOCK_REGION_LENGTH__+0x2ba> - 6a4: 34 fe sbrs r3, 4 - 6a6: 0b c0 rjmp .+22 ; 0x6be <__LOCK_REGION_LENGTH__+0x2be> - 6a8: 32 fc sbrc r3, 2 - 6aa: 09 c0 rjmp .+18 ; 0x6be <__LOCK_REGION_LENGTH__+0x2be> - 6ac: 83 2d mov r24, r3 - 6ae: 8e 7e andi r24, 0xEE ; 238 - 6b0: a8 2e mov r10, r24 - 6b2: 05 c0 rjmp .+10 ; 0x6be <__LOCK_REGION_LENGTH__+0x2be> + 660: 32 e0 ldi r19, 0x02 ; 2 + 662: f8 01 movw r30, r16 + 664: b7 fe sbrs r11, 7 + 666: 07 c0 rjmp .+14 ; 0x676 <__LOCK_REGION_LENGTH__+0x276> + 668: 60 81 ld r22, Z + 66a: 71 81 ldd r23, Z+1 ; 0x01 + 66c: 82 81 ldd r24, Z+2 ; 0x02 + 66e: 93 81 ldd r25, Z+3 ; 0x03 + 670: 0c 5f subi r16, 0xFC ; 252 + 672: 1f 4f sbci r17, 0xFF ; 255 + 674: 06 c0 rjmp .+12 ; 0x682 <__LOCK_REGION_LENGTH__+0x282> + 676: 60 81 ld r22, Z + 678: 71 81 ldd r23, Z+1 ; 0x01 + 67a: 80 e0 ldi r24, 0x00 ; 0 + 67c: 90 e0 ldi r25, 0x00 ; 0 + 67e: 0e 5f subi r16, 0xFE ; 254 + 680: 1f 4f sbci r17, 0xFF ; 255 + 682: a3 01 movw r20, r6 + 684: f1 d0 rcall .+482 ; 0x868 <__ultoa_invert> + 686: 88 2e mov r8, r24 + 688: 86 18 sub r8, r6 + 68a: fb 2d mov r31, r11 + 68c: ff 77 andi r31, 0x7F ; 127 + 68e: 3f 2e mov r3, r31 + 690: 36 fe sbrs r3, 6 + 692: 0d c0 rjmp .+26 ; 0x6ae <__LOCK_REGION_LENGTH__+0x2ae> + 694: 23 2d mov r18, r3 + 696: 2e 7f andi r18, 0xFE ; 254 + 698: a2 2e mov r10, r18 + 69a: 89 14 cp r8, r9 + 69c: 58 f4 brcc .+22 ; 0x6b4 <__LOCK_REGION_LENGTH__+0x2b4> + 69e: 34 fe sbrs r3, 4 + 6a0: 0b c0 rjmp .+22 ; 0x6b8 <__LOCK_REGION_LENGTH__+0x2b8> + 6a2: 32 fc sbrc r3, 2 + 6a4: 09 c0 rjmp .+18 ; 0x6b8 <__LOCK_REGION_LENGTH__+0x2b8> + 6a6: 83 2d mov r24, r3 + 6a8: 8e 7e andi r24, 0xEE ; 238 + 6aa: a8 2e mov r10, r24 + 6ac: 05 c0 rjmp .+10 ; 0x6b8 <__LOCK_REGION_LENGTH__+0x2b8> + 6ae: b8 2c mov r11, r8 + 6b0: a3 2c mov r10, r3 + 6b2: 03 c0 rjmp .+6 ; 0x6ba <__LOCK_REGION_LENGTH__+0x2ba> 6b4: b8 2c mov r11, r8 - 6b6: a3 2c mov r10, r3 - 6b8: 03 c0 rjmp .+6 ; 0x6c0 <__LOCK_REGION_LENGTH__+0x2c0> - 6ba: b8 2c mov r11, r8 - 6bc: 01 c0 rjmp .+2 ; 0x6c0 <__LOCK_REGION_LENGTH__+0x2c0> - 6be: b9 2c mov r11, r9 - 6c0: a4 fe sbrs r10, 4 - 6c2: 0f c0 rjmp .+30 ; 0x6e2 <__LOCK_REGION_LENGTH__+0x2e2> - 6c4: fe 01 movw r30, r28 - 6c6: e8 0d add r30, r8 - 6c8: f1 1d adc r31, r1 - 6ca: 80 81 ld r24, Z - 6cc: 80 33 cpi r24, 0x30 ; 48 - 6ce: 21 f4 brne .+8 ; 0x6d8 <__LOCK_REGION_LENGTH__+0x2d8> - 6d0: 9a 2d mov r25, r10 - 6d2: 99 7e andi r25, 0xE9 ; 233 - 6d4: a9 2e mov r10, r25 - 6d6: 09 c0 rjmp .+18 ; 0x6ea <__LOCK_REGION_LENGTH__+0x2ea> - 6d8: a2 fe sbrs r10, 2 - 6da: 06 c0 rjmp .+12 ; 0x6e8 <__LOCK_REGION_LENGTH__+0x2e8> - 6dc: b3 94 inc r11 - 6de: b3 94 inc r11 - 6e0: 04 c0 rjmp .+8 ; 0x6ea <__LOCK_REGION_LENGTH__+0x2ea> - 6e2: 8a 2d mov r24, r10 - 6e4: 86 78 andi r24, 0x86 ; 134 - 6e6: 09 f0 breq .+2 ; 0x6ea <__LOCK_REGION_LENGTH__+0x2ea> - 6e8: b3 94 inc r11 - 6ea: a3 fc sbrc r10, 3 - 6ec: 10 c0 rjmp .+32 ; 0x70e <__LOCK_REGION_LENGTH__+0x30e> - 6ee: a0 fe sbrs r10, 0 - 6f0: 06 c0 rjmp .+12 ; 0x6fe <__LOCK_REGION_LENGTH__+0x2fe> - 6f2: b2 14 cp r11, r2 - 6f4: 80 f4 brcc .+32 ; 0x716 <__LOCK_REGION_LENGTH__+0x316> - 6f6: 28 0c add r2, r8 - 6f8: 92 2c mov r9, r2 - 6fa: 9b 18 sub r9, r11 - 6fc: 0d c0 rjmp .+26 ; 0x718 <__LOCK_REGION_LENGTH__+0x318> - 6fe: b2 14 cp r11, r2 - 700: 58 f4 brcc .+22 ; 0x718 <__LOCK_REGION_LENGTH__+0x318> - 702: b6 01 movw r22, r12 - 704: 80 e2 ldi r24, 0x20 ; 32 - 706: 90 e0 ldi r25, 0x00 ; 0 - 708: 76 d0 rcall .+236 ; 0x7f6 - 70a: b3 94 inc r11 - 70c: f8 cf rjmp .-16 ; 0x6fe <__LOCK_REGION_LENGTH__+0x2fe> - 70e: b2 14 cp r11, r2 - 710: 18 f4 brcc .+6 ; 0x718 <__LOCK_REGION_LENGTH__+0x318> - 712: 2b 18 sub r2, r11 - 714: 02 c0 rjmp .+4 ; 0x71a <__LOCK_REGION_LENGTH__+0x31a> - 716: 98 2c mov r9, r8 - 718: 21 2c mov r2, r1 - 71a: a4 fe sbrs r10, 4 - 71c: 0f c0 rjmp .+30 ; 0x73c <__LOCK_REGION_LENGTH__+0x33c> - 71e: b6 01 movw r22, r12 - 720: 80 e3 ldi r24, 0x30 ; 48 - 722: 90 e0 ldi r25, 0x00 ; 0 - 724: 68 d0 rcall .+208 ; 0x7f6 - 726: a2 fe sbrs r10, 2 - 728: 16 c0 rjmp .+44 ; 0x756 <__LOCK_REGION_LENGTH__+0x356> - 72a: a1 fc sbrc r10, 1 - 72c: 03 c0 rjmp .+6 ; 0x734 <__LOCK_REGION_LENGTH__+0x334> - 72e: 88 e7 ldi r24, 0x78 ; 120 + 6b6: 01 c0 rjmp .+2 ; 0x6ba <__LOCK_REGION_LENGTH__+0x2ba> + 6b8: b9 2c mov r11, r9 + 6ba: a4 fe sbrs r10, 4 + 6bc: 0f c0 rjmp .+30 ; 0x6dc <__LOCK_REGION_LENGTH__+0x2dc> + 6be: fe 01 movw r30, r28 + 6c0: e8 0d add r30, r8 + 6c2: f1 1d adc r31, r1 + 6c4: 80 81 ld r24, Z + 6c6: 80 33 cpi r24, 0x30 ; 48 + 6c8: 21 f4 brne .+8 ; 0x6d2 <__LOCK_REGION_LENGTH__+0x2d2> + 6ca: 9a 2d mov r25, r10 + 6cc: 99 7e andi r25, 0xE9 ; 233 + 6ce: a9 2e mov r10, r25 + 6d0: 09 c0 rjmp .+18 ; 0x6e4 <__LOCK_REGION_LENGTH__+0x2e4> + 6d2: a2 fe sbrs r10, 2 + 6d4: 06 c0 rjmp .+12 ; 0x6e2 <__LOCK_REGION_LENGTH__+0x2e2> + 6d6: b3 94 inc r11 + 6d8: b3 94 inc r11 + 6da: 04 c0 rjmp .+8 ; 0x6e4 <__LOCK_REGION_LENGTH__+0x2e4> + 6dc: 8a 2d mov r24, r10 + 6de: 86 78 andi r24, 0x86 ; 134 + 6e0: 09 f0 breq .+2 ; 0x6e4 <__LOCK_REGION_LENGTH__+0x2e4> + 6e2: b3 94 inc r11 + 6e4: a3 fc sbrc r10, 3 + 6e6: 10 c0 rjmp .+32 ; 0x708 <__LOCK_REGION_LENGTH__+0x308> + 6e8: a0 fe sbrs r10, 0 + 6ea: 06 c0 rjmp .+12 ; 0x6f8 <__LOCK_REGION_LENGTH__+0x2f8> + 6ec: b2 14 cp r11, r2 + 6ee: 80 f4 brcc .+32 ; 0x710 <__LOCK_REGION_LENGTH__+0x310> + 6f0: 28 0c add r2, r8 + 6f2: 92 2c mov r9, r2 + 6f4: 9b 18 sub r9, r11 + 6f6: 0d c0 rjmp .+26 ; 0x712 <__LOCK_REGION_LENGTH__+0x312> + 6f8: b2 14 cp r11, r2 + 6fa: 58 f4 brcc .+22 ; 0x712 <__LOCK_REGION_LENGTH__+0x312> + 6fc: b6 01 movw r22, r12 + 6fe: 80 e2 ldi r24, 0x20 ; 32 + 700: 90 e0 ldi r25, 0x00 ; 0 + 702: 76 d0 rcall .+236 ; 0x7f0 + 704: b3 94 inc r11 + 706: f8 cf rjmp .-16 ; 0x6f8 <__LOCK_REGION_LENGTH__+0x2f8> + 708: b2 14 cp r11, r2 + 70a: 18 f4 brcc .+6 ; 0x712 <__LOCK_REGION_LENGTH__+0x312> + 70c: 2b 18 sub r2, r11 + 70e: 02 c0 rjmp .+4 ; 0x714 <__LOCK_REGION_LENGTH__+0x314> + 710: 98 2c mov r9, r8 + 712: 21 2c mov r2, r1 + 714: a4 fe sbrs r10, 4 + 716: 0f c0 rjmp .+30 ; 0x736 <__LOCK_REGION_LENGTH__+0x336> + 718: b6 01 movw r22, r12 + 71a: 80 e3 ldi r24, 0x30 ; 48 + 71c: 90 e0 ldi r25, 0x00 ; 0 + 71e: 68 d0 rcall .+208 ; 0x7f0 + 720: a2 fe sbrs r10, 2 + 722: 16 c0 rjmp .+44 ; 0x750 <__LOCK_REGION_LENGTH__+0x350> + 724: a1 fc sbrc r10, 1 + 726: 03 c0 rjmp .+6 ; 0x72e <__LOCK_REGION_LENGTH__+0x32e> + 728: 88 e7 ldi r24, 0x78 ; 120 + 72a: 90 e0 ldi r25, 0x00 ; 0 + 72c: 02 c0 rjmp .+4 ; 0x732 <__LOCK_REGION_LENGTH__+0x332> + 72e: 88 e5 ldi r24, 0x58 ; 88 730: 90 e0 ldi r25, 0x00 ; 0 - 732: 02 c0 rjmp .+4 ; 0x738 <__LOCK_REGION_LENGTH__+0x338> - 734: 88 e5 ldi r24, 0x58 ; 88 - 736: 90 e0 ldi r25, 0x00 ; 0 - 738: b6 01 movw r22, r12 - 73a: 0c c0 rjmp .+24 ; 0x754 <__LOCK_REGION_LENGTH__+0x354> - 73c: 8a 2d mov r24, r10 - 73e: 86 78 andi r24, 0x86 ; 134 - 740: 51 f0 breq .+20 ; 0x756 <__LOCK_REGION_LENGTH__+0x356> - 742: a1 fe sbrs r10, 1 - 744: 02 c0 rjmp .+4 ; 0x74a <__LOCK_REGION_LENGTH__+0x34a> - 746: 8b e2 ldi r24, 0x2B ; 43 - 748: 01 c0 rjmp .+2 ; 0x74c <__LOCK_REGION_LENGTH__+0x34c> - 74a: 80 e2 ldi r24, 0x20 ; 32 - 74c: a7 fc sbrc r10, 7 - 74e: 8d e2 ldi r24, 0x2D ; 45 - 750: b6 01 movw r22, r12 - 752: 90 e0 ldi r25, 0x00 ; 0 - 754: 50 d0 rcall .+160 ; 0x7f6 - 756: 89 14 cp r8, r9 - 758: 30 f4 brcc .+12 ; 0x766 <__LOCK_REGION_LENGTH__+0x366> - 75a: b6 01 movw r22, r12 - 75c: 80 e3 ldi r24, 0x30 ; 48 - 75e: 90 e0 ldi r25, 0x00 ; 0 - 760: 4a d0 rcall .+148 ; 0x7f6 - 762: 9a 94 dec r9 - 764: f8 cf rjmp .-16 ; 0x756 <__LOCK_REGION_LENGTH__+0x356> - 766: 8a 94 dec r8 - 768: f3 01 movw r30, r6 - 76a: e8 0d add r30, r8 - 76c: f1 1d adc r31, r1 - 76e: 80 81 ld r24, Z - 770: b6 01 movw r22, r12 - 772: 90 e0 ldi r25, 0x00 ; 0 - 774: 40 d0 rcall .+128 ; 0x7f6 - 776: 81 10 cpse r8, r1 - 778: f6 cf rjmp .-20 ; 0x766 <__LOCK_REGION_LENGTH__+0x366> - 77a: 22 20 and r2, r2 - 77c: 09 f4 brne .+2 ; 0x780 <__LOCK_REGION_LENGTH__+0x380> - 77e: 4e ce rjmp .-868 ; 0x41c <__LOCK_REGION_LENGTH__+0x1c> - 780: b6 01 movw r22, r12 - 782: 80 e2 ldi r24, 0x20 ; 32 - 784: 90 e0 ldi r25, 0x00 ; 0 - 786: 37 d0 rcall .+110 ; 0x7f6 - 788: 2a 94 dec r2 - 78a: f7 cf rjmp .-18 ; 0x77a <__LOCK_REGION_LENGTH__+0x37a> - 78c: f6 01 movw r30, r12 - 78e: 86 81 ldd r24, Z+6 ; 0x06 - 790: 97 81 ldd r25, Z+7 ; 0x07 - 792: 02 c0 rjmp .+4 ; 0x798 <__LOCK_REGION_LENGTH__+0x398> - 794: 8f ef ldi r24, 0xFF ; 255 - 796: 9f ef ldi r25, 0xFF ; 255 - 798: 2b 96 adiw r28, 0x0b ; 11 - 79a: 0f b6 in r0, 0x3f ; 63 - 79c: f8 94 cli - 79e: de bf out 0x3e, r29 ; 62 - 7a0: 0f be out 0x3f, r0 ; 63 - 7a2: cd bf out 0x3d, r28 ; 61 - 7a4: df 91 pop r29 - 7a6: cf 91 pop r28 - 7a8: 1f 91 pop r17 - 7aa: 0f 91 pop r16 - 7ac: ff 90 pop r15 - 7ae: ef 90 pop r14 - 7b0: df 90 pop r13 - 7b2: cf 90 pop r12 - 7b4: bf 90 pop r11 - 7b6: af 90 pop r10 - 7b8: 9f 90 pop r9 - 7ba: 8f 90 pop r8 - 7bc: 7f 90 pop r7 - 7be: 6f 90 pop r6 - 7c0: 5f 90 pop r5 - 7c2: 4f 90 pop r4 - 7c4: 3f 90 pop r3 - 7c6: 2f 90 pop r2 - 7c8: 08 95 ret + 732: b6 01 movw r22, r12 + 734: 0c c0 rjmp .+24 ; 0x74e <__LOCK_REGION_LENGTH__+0x34e> + 736: 8a 2d mov r24, r10 + 738: 86 78 andi r24, 0x86 ; 134 + 73a: 51 f0 breq .+20 ; 0x750 <__LOCK_REGION_LENGTH__+0x350> + 73c: a1 fe sbrs r10, 1 + 73e: 02 c0 rjmp .+4 ; 0x744 <__LOCK_REGION_LENGTH__+0x344> + 740: 8b e2 ldi r24, 0x2B ; 43 + 742: 01 c0 rjmp .+2 ; 0x746 <__LOCK_REGION_LENGTH__+0x346> + 744: 80 e2 ldi r24, 0x20 ; 32 + 746: a7 fc sbrc r10, 7 + 748: 8d e2 ldi r24, 0x2D ; 45 + 74a: b6 01 movw r22, r12 + 74c: 90 e0 ldi r25, 0x00 ; 0 + 74e: 50 d0 rcall .+160 ; 0x7f0 + 750: 89 14 cp r8, r9 + 752: 30 f4 brcc .+12 ; 0x760 <__LOCK_REGION_LENGTH__+0x360> + 754: b6 01 movw r22, r12 + 756: 80 e3 ldi r24, 0x30 ; 48 + 758: 90 e0 ldi r25, 0x00 ; 0 + 75a: 4a d0 rcall .+148 ; 0x7f0 + 75c: 9a 94 dec r9 + 75e: f8 cf rjmp .-16 ; 0x750 <__LOCK_REGION_LENGTH__+0x350> + 760: 8a 94 dec r8 + 762: f3 01 movw r30, r6 + 764: e8 0d add r30, r8 + 766: f1 1d adc r31, r1 + 768: 80 81 ld r24, Z + 76a: b6 01 movw r22, r12 + 76c: 90 e0 ldi r25, 0x00 ; 0 + 76e: 40 d0 rcall .+128 ; 0x7f0 + 770: 81 10 cpse r8, r1 + 772: f6 cf rjmp .-20 ; 0x760 <__LOCK_REGION_LENGTH__+0x360> + 774: 22 20 and r2, r2 + 776: 09 f4 brne .+2 ; 0x77a <__LOCK_REGION_LENGTH__+0x37a> + 778: 4e ce rjmp .-868 ; 0x416 <__LOCK_REGION_LENGTH__+0x16> + 77a: b6 01 movw r22, r12 + 77c: 80 e2 ldi r24, 0x20 ; 32 + 77e: 90 e0 ldi r25, 0x00 ; 0 + 780: 37 d0 rcall .+110 ; 0x7f0 + 782: 2a 94 dec r2 + 784: f7 cf rjmp .-18 ; 0x774 <__LOCK_REGION_LENGTH__+0x374> + 786: f6 01 movw r30, r12 + 788: 86 81 ldd r24, Z+6 ; 0x06 + 78a: 97 81 ldd r25, Z+7 ; 0x07 + 78c: 02 c0 rjmp .+4 ; 0x792 <__LOCK_REGION_LENGTH__+0x392> + 78e: 8f ef ldi r24, 0xFF ; 255 + 790: 9f ef ldi r25, 0xFF ; 255 + 792: 2b 96 adiw r28, 0x0b ; 11 + 794: 0f b6 in r0, 0x3f ; 63 + 796: f8 94 cli + 798: de bf out 0x3e, r29 ; 62 + 79a: 0f be out 0x3f, r0 ; 63 + 79c: cd bf out 0x3d, r28 ; 61 + 79e: df 91 pop r29 + 7a0: cf 91 pop r28 + 7a2: 1f 91 pop r17 + 7a4: 0f 91 pop r16 + 7a6: ff 90 pop r15 + 7a8: ef 90 pop r14 + 7aa: df 90 pop r13 + 7ac: cf 90 pop r12 + 7ae: bf 90 pop r11 + 7b0: af 90 pop r10 + 7b2: 9f 90 pop r9 + 7b4: 8f 90 pop r8 + 7b6: 7f 90 pop r7 + 7b8: 6f 90 pop r6 + 7ba: 5f 90 pop r5 + 7bc: 4f 90 pop r4 + 7be: 3f 90 pop r3 + 7c0: 2f 90 pop r2 + 7c2: 08 95 ret -000007ca : - 7ca: fc 01 movw r30, r24 - 7cc: 05 90 lpm r0, Z+ - 7ce: 61 50 subi r22, 0x01 ; 1 - 7d0: 70 40 sbci r23, 0x00 ; 0 - 7d2: 01 10 cpse r0, r1 - 7d4: d8 f7 brcc .-10 ; 0x7cc - 7d6: 80 95 com r24 - 7d8: 90 95 com r25 - 7da: 8e 0f add r24, r30 - 7dc: 9f 1f adc r25, r31 - 7de: 08 95 ret +000007c4 : + 7c4: fc 01 movw r30, r24 + 7c6: 05 90 lpm r0, Z+ + 7c8: 61 50 subi r22, 0x01 ; 1 + 7ca: 70 40 sbci r23, 0x00 ; 0 + 7cc: 01 10 cpse r0, r1 + 7ce: d8 f7 brcc .-10 ; 0x7c6 + 7d0: 80 95 com r24 + 7d2: 90 95 com r25 + 7d4: 8e 0f add r24, r30 + 7d6: 9f 1f adc r25, r31 + 7d8: 08 95 ret -000007e0 : - 7e0: fc 01 movw r30, r24 - 7e2: 61 50 subi r22, 0x01 ; 1 - 7e4: 70 40 sbci r23, 0x00 ; 0 - 7e6: 01 90 ld r0, Z+ - 7e8: 01 10 cpse r0, r1 - 7ea: d8 f7 brcc .-10 ; 0x7e2 - 7ec: 80 95 com r24 - 7ee: 90 95 com r25 - 7f0: 8e 0f add r24, r30 - 7f2: 9f 1f adc r25, r31 - 7f4: 08 95 ret +000007da : + 7da: fc 01 movw r30, r24 + 7dc: 61 50 subi r22, 0x01 ; 1 + 7de: 70 40 sbci r23, 0x00 ; 0 + 7e0: 01 90 ld r0, Z+ + 7e2: 01 10 cpse r0, r1 + 7e4: d8 f7 brcc .-10 ; 0x7dc + 7e6: 80 95 com r24 + 7e8: 90 95 com r25 + 7ea: 8e 0f add r24, r30 + 7ec: 9f 1f adc r25, r31 + 7ee: 08 95 ret -000007f6 : - 7f6: 0f 93 push r16 - 7f8: 1f 93 push r17 - 7fa: cf 93 push r28 - 7fc: df 93 push r29 - 7fe: fb 01 movw r30, r22 - 800: 23 81 ldd r18, Z+3 ; 0x03 - 802: 21 fd sbrc r18, 1 - 804: 03 c0 rjmp .+6 ; 0x80c - 806: 8f ef ldi r24, 0xFF ; 255 - 808: 9f ef ldi r25, 0xFF ; 255 - 80a: 2c c0 rjmp .+88 ; 0x864 - 80c: 22 ff sbrs r18, 2 - 80e: 16 c0 rjmp .+44 ; 0x83c - 810: 46 81 ldd r20, Z+6 ; 0x06 - 812: 57 81 ldd r21, Z+7 ; 0x07 - 814: 24 81 ldd r18, Z+4 ; 0x04 - 816: 35 81 ldd r19, Z+5 ; 0x05 - 818: 42 17 cp r20, r18 - 81a: 53 07 cpc r21, r19 - 81c: 44 f4 brge .+16 ; 0x82e - 81e: a0 81 ld r26, Z - 820: b1 81 ldd r27, Z+1 ; 0x01 - 822: 9d 01 movw r18, r26 - 824: 2f 5f subi r18, 0xFF ; 255 - 826: 3f 4f sbci r19, 0xFF ; 255 - 828: 31 83 std Z+1, r19 ; 0x01 - 82a: 20 83 st Z, r18 - 82c: 8c 93 st X, r24 - 82e: 26 81 ldd r18, Z+6 ; 0x06 - 830: 37 81 ldd r19, Z+7 ; 0x07 - 832: 2f 5f subi r18, 0xFF ; 255 - 834: 3f 4f sbci r19, 0xFF ; 255 - 836: 37 83 std Z+7, r19 ; 0x07 - 838: 26 83 std Z+6, r18 ; 0x06 - 83a: 14 c0 rjmp .+40 ; 0x864 - 83c: 8b 01 movw r16, r22 - 83e: ec 01 movw r28, r24 - 840: fb 01 movw r30, r22 - 842: 00 84 ldd r0, Z+8 ; 0x08 - 844: f1 85 ldd r31, Z+9 ; 0x09 - 846: e0 2d mov r30, r0 - 848: 09 95 icall - 84a: 89 2b or r24, r25 - 84c: e1 f6 brne .-72 ; 0x806 - 84e: d8 01 movw r26, r16 - 850: 16 96 adiw r26, 0x06 ; 6 - 852: 8d 91 ld r24, X+ - 854: 9c 91 ld r25, X - 856: 17 97 sbiw r26, 0x07 ; 7 - 858: 01 96 adiw r24, 0x01 ; 1 - 85a: 17 96 adiw r26, 0x07 ; 7 - 85c: 9c 93 st X, r25 - 85e: 8e 93 st -X, r24 - 860: 16 97 sbiw r26, 0x06 ; 6 - 862: ce 01 movw r24, r28 - 864: df 91 pop r29 - 866: cf 91 pop r28 - 868: 1f 91 pop r17 - 86a: 0f 91 pop r16 - 86c: 08 95 ret +000007f0 : + 7f0: 0f 93 push r16 + 7f2: 1f 93 push r17 + 7f4: cf 93 push r28 + 7f6: df 93 push r29 + 7f8: fb 01 movw r30, r22 + 7fa: 23 81 ldd r18, Z+3 ; 0x03 + 7fc: 21 fd sbrc r18, 1 + 7fe: 03 c0 rjmp .+6 ; 0x806 + 800: 8f ef ldi r24, 0xFF ; 255 + 802: 9f ef ldi r25, 0xFF ; 255 + 804: 2c c0 rjmp .+88 ; 0x85e + 806: 22 ff sbrs r18, 2 + 808: 16 c0 rjmp .+44 ; 0x836 + 80a: 46 81 ldd r20, Z+6 ; 0x06 + 80c: 57 81 ldd r21, Z+7 ; 0x07 + 80e: 24 81 ldd r18, Z+4 ; 0x04 + 810: 35 81 ldd r19, Z+5 ; 0x05 + 812: 42 17 cp r20, r18 + 814: 53 07 cpc r21, r19 + 816: 44 f4 brge .+16 ; 0x828 + 818: a0 81 ld r26, Z + 81a: b1 81 ldd r27, Z+1 ; 0x01 + 81c: 9d 01 movw r18, r26 + 81e: 2f 5f subi r18, 0xFF ; 255 + 820: 3f 4f sbci r19, 0xFF ; 255 + 822: 31 83 std Z+1, r19 ; 0x01 + 824: 20 83 st Z, r18 + 826: 8c 93 st X, r24 + 828: 26 81 ldd r18, Z+6 ; 0x06 + 82a: 37 81 ldd r19, Z+7 ; 0x07 + 82c: 2f 5f subi r18, 0xFF ; 255 + 82e: 3f 4f sbci r19, 0xFF ; 255 + 830: 37 83 std Z+7, r19 ; 0x07 + 832: 26 83 std Z+6, r18 ; 0x06 + 834: 14 c0 rjmp .+40 ; 0x85e + 836: 8b 01 movw r16, r22 + 838: ec 01 movw r28, r24 + 83a: fb 01 movw r30, r22 + 83c: 00 84 ldd r0, Z+8 ; 0x08 + 83e: f1 85 ldd r31, Z+9 ; 0x09 + 840: e0 2d mov r30, r0 + 842: 09 95 icall + 844: 89 2b or r24, r25 + 846: e1 f6 brne .-72 ; 0x800 + 848: d8 01 movw r26, r16 + 84a: 16 96 adiw r26, 0x06 ; 6 + 84c: 8d 91 ld r24, X+ + 84e: 9c 91 ld r25, X + 850: 17 97 sbiw r26, 0x07 ; 7 + 852: 01 96 adiw r24, 0x01 ; 1 + 854: 17 96 adiw r26, 0x07 ; 7 + 856: 9c 93 st X, r25 + 858: 8e 93 st -X, r24 + 85a: 16 97 sbiw r26, 0x06 ; 6 + 85c: ce 01 movw r24, r28 + 85e: df 91 pop r29 + 860: cf 91 pop r28 + 862: 1f 91 pop r17 + 864: 0f 91 pop r16 + 866: 08 95 ret -0000086e <__ultoa_invert>: - 86e: fa 01 movw r30, r20 - 870: aa 27 eor r26, r26 - 872: 28 30 cpi r18, 0x08 ; 8 - 874: 51 f1 breq .+84 ; 0x8ca <__ultoa_invert+0x5c> - 876: 20 31 cpi r18, 0x10 ; 16 - 878: 81 f1 breq .+96 ; 0x8da <__ultoa_invert+0x6c> - 87a: e8 94 clt - 87c: 6f 93 push r22 - 87e: 6e 7f andi r22, 0xFE ; 254 - 880: 6e 5f subi r22, 0xFE ; 254 - 882: 7f 4f sbci r23, 0xFF ; 255 - 884: 8f 4f sbci r24, 0xFF ; 255 - 886: 9f 4f sbci r25, 0xFF ; 255 - 888: af 4f sbci r26, 0xFF ; 255 - 88a: b1 e0 ldi r27, 0x01 ; 1 - 88c: 3e d0 rcall .+124 ; 0x90a <__ultoa_invert+0x9c> - 88e: b4 e0 ldi r27, 0x04 ; 4 - 890: 3c d0 rcall .+120 ; 0x90a <__ultoa_invert+0x9c> - 892: 67 0f add r22, r23 - 894: 78 1f adc r23, r24 - 896: 89 1f adc r24, r25 - 898: 9a 1f adc r25, r26 - 89a: a1 1d adc r26, r1 - 89c: 68 0f add r22, r24 - 89e: 79 1f adc r23, r25 - 8a0: 8a 1f adc r24, r26 - 8a2: 91 1d adc r25, r1 - 8a4: a1 1d adc r26, r1 - 8a6: 6a 0f add r22, r26 - 8a8: 71 1d adc r23, r1 - 8aa: 81 1d adc r24, r1 - 8ac: 91 1d adc r25, r1 - 8ae: a1 1d adc r26, r1 - 8b0: 20 d0 rcall .+64 ; 0x8f2 <__ultoa_invert+0x84> - 8b2: 09 f4 brne .+2 ; 0x8b6 <__ultoa_invert+0x48> - 8b4: 68 94 set - 8b6: 3f 91 pop r19 - 8b8: 2a e0 ldi r18, 0x0A ; 10 - 8ba: 26 9f mul r18, r22 - 8bc: 11 24 eor r1, r1 - 8be: 30 19 sub r19, r0 - 8c0: 30 5d subi r19, 0xD0 ; 208 - 8c2: 31 93 st Z+, r19 - 8c4: de f6 brtc .-74 ; 0x87c <__ultoa_invert+0xe> - 8c6: cf 01 movw r24, r30 - 8c8: 08 95 ret - 8ca: 46 2f mov r20, r22 - 8cc: 47 70 andi r20, 0x07 ; 7 - 8ce: 40 5d subi r20, 0xD0 ; 208 - 8d0: 41 93 st Z+, r20 - 8d2: b3 e0 ldi r27, 0x03 ; 3 - 8d4: 0f d0 rcall .+30 ; 0x8f4 <__ultoa_invert+0x86> - 8d6: c9 f7 brne .-14 ; 0x8ca <__ultoa_invert+0x5c> - 8d8: f6 cf rjmp .-20 ; 0x8c6 <__ultoa_invert+0x58> - 8da: 46 2f mov r20, r22 - 8dc: 4f 70 andi r20, 0x0F ; 15 - 8de: 40 5d subi r20, 0xD0 ; 208 - 8e0: 4a 33 cpi r20, 0x3A ; 58 - 8e2: 18 f0 brcs .+6 ; 0x8ea <__ultoa_invert+0x7c> - 8e4: 49 5d subi r20, 0xD9 ; 217 - 8e6: 31 fd sbrc r19, 1 - 8e8: 40 52 subi r20, 0x20 ; 32 - 8ea: 41 93 st Z+, r20 - 8ec: 02 d0 rcall .+4 ; 0x8f2 <__ultoa_invert+0x84> - 8ee: a9 f7 brne .-22 ; 0x8da <__ultoa_invert+0x6c> - 8f0: ea cf rjmp .-44 ; 0x8c6 <__ultoa_invert+0x58> - 8f2: b4 e0 ldi r27, 0x04 ; 4 - 8f4: a6 95 lsr r26 - 8f6: 97 95 ror r25 - 8f8: 87 95 ror r24 - 8fa: 77 95 ror r23 - 8fc: 67 95 ror r22 - 8fe: ba 95 dec r27 - 900: c9 f7 brne .-14 ; 0x8f4 <__ultoa_invert+0x86> - 902: 00 97 sbiw r24, 0x00 ; 0 - 904: 61 05 cpc r22, r1 - 906: 71 05 cpc r23, r1 - 908: 08 95 ret - 90a: 9b 01 movw r18, r22 - 90c: ac 01 movw r20, r24 - 90e: 0a 2e mov r0, r26 - 910: 06 94 lsr r0 - 912: 57 95 ror r21 - 914: 47 95 ror r20 - 916: 37 95 ror r19 - 918: 27 95 ror r18 - 91a: ba 95 dec r27 - 91c: c9 f7 brne .-14 ; 0x910 <__ultoa_invert+0xa2> - 91e: 62 0f add r22, r18 - 920: 73 1f adc r23, r19 - 922: 84 1f adc r24, r20 - 924: 95 1f adc r25, r21 - 926: a0 1d adc r26, r0 - 928: 08 95 ret +00000868 <__ultoa_invert>: + 868: fa 01 movw r30, r20 + 86a: aa 27 eor r26, r26 + 86c: 28 30 cpi r18, 0x08 ; 8 + 86e: 51 f1 breq .+84 ; 0x8c4 <__ultoa_invert+0x5c> + 870: 20 31 cpi r18, 0x10 ; 16 + 872: 81 f1 breq .+96 ; 0x8d4 <__ultoa_invert+0x6c> + 874: e8 94 clt + 876: 6f 93 push r22 + 878: 6e 7f andi r22, 0xFE ; 254 + 87a: 6e 5f subi r22, 0xFE ; 254 + 87c: 7f 4f sbci r23, 0xFF ; 255 + 87e: 8f 4f sbci r24, 0xFF ; 255 + 880: 9f 4f sbci r25, 0xFF ; 255 + 882: af 4f sbci r26, 0xFF ; 255 + 884: b1 e0 ldi r27, 0x01 ; 1 + 886: 3e d0 rcall .+124 ; 0x904 <__ultoa_invert+0x9c> + 888: b4 e0 ldi r27, 0x04 ; 4 + 88a: 3c d0 rcall .+120 ; 0x904 <__ultoa_invert+0x9c> + 88c: 67 0f add r22, r23 + 88e: 78 1f adc r23, r24 + 890: 89 1f adc r24, r25 + 892: 9a 1f adc r25, r26 + 894: a1 1d adc r26, r1 + 896: 68 0f add r22, r24 + 898: 79 1f adc r23, r25 + 89a: 8a 1f adc r24, r26 + 89c: 91 1d adc r25, r1 + 89e: a1 1d adc r26, r1 + 8a0: 6a 0f add r22, r26 + 8a2: 71 1d adc r23, r1 + 8a4: 81 1d adc r24, r1 + 8a6: 91 1d adc r25, r1 + 8a8: a1 1d adc r26, r1 + 8aa: 20 d0 rcall .+64 ; 0x8ec <__ultoa_invert+0x84> + 8ac: 09 f4 brne .+2 ; 0x8b0 <__ultoa_invert+0x48> + 8ae: 68 94 set + 8b0: 3f 91 pop r19 + 8b2: 2a e0 ldi r18, 0x0A ; 10 + 8b4: 26 9f mul r18, r22 + 8b6: 11 24 eor r1, r1 + 8b8: 30 19 sub r19, r0 + 8ba: 30 5d subi r19, 0xD0 ; 208 + 8bc: 31 93 st Z+, r19 + 8be: de f6 brtc .-74 ; 0x876 <__ultoa_invert+0xe> + 8c0: cf 01 movw r24, r30 + 8c2: 08 95 ret + 8c4: 46 2f mov r20, r22 + 8c6: 47 70 andi r20, 0x07 ; 7 + 8c8: 40 5d subi r20, 0xD0 ; 208 + 8ca: 41 93 st Z+, r20 + 8cc: b3 e0 ldi r27, 0x03 ; 3 + 8ce: 0f d0 rcall .+30 ; 0x8ee <__ultoa_invert+0x86> + 8d0: c9 f7 brne .-14 ; 0x8c4 <__ultoa_invert+0x5c> + 8d2: f6 cf rjmp .-20 ; 0x8c0 <__ultoa_invert+0x58> + 8d4: 46 2f mov r20, r22 + 8d6: 4f 70 andi r20, 0x0F ; 15 + 8d8: 40 5d subi r20, 0xD0 ; 208 + 8da: 4a 33 cpi r20, 0x3A ; 58 + 8dc: 18 f0 brcs .+6 ; 0x8e4 <__ultoa_invert+0x7c> + 8de: 49 5d subi r20, 0xD9 ; 217 + 8e0: 31 fd sbrc r19, 1 + 8e2: 40 52 subi r20, 0x20 ; 32 + 8e4: 41 93 st Z+, r20 + 8e6: 02 d0 rcall .+4 ; 0x8ec <__ultoa_invert+0x84> + 8e8: a9 f7 brne .-22 ; 0x8d4 <__ultoa_invert+0x6c> + 8ea: ea cf rjmp .-44 ; 0x8c0 <__ultoa_invert+0x58> + 8ec: b4 e0 ldi r27, 0x04 ; 4 + 8ee: a6 95 lsr r26 + 8f0: 97 95 ror r25 + 8f2: 87 95 ror r24 + 8f4: 77 95 ror r23 + 8f6: 67 95 ror r22 + 8f8: ba 95 dec r27 + 8fa: c9 f7 brne .-14 ; 0x8ee <__ultoa_invert+0x86> + 8fc: 00 97 sbiw r24, 0x00 ; 0 + 8fe: 61 05 cpc r22, r1 + 900: 71 05 cpc r23, r1 + 902: 08 95 ret + 904: 9b 01 movw r18, r22 + 906: ac 01 movw r20, r24 + 908: 0a 2e mov r0, r26 + 90a: 06 94 lsr r0 + 90c: 57 95 ror r21 + 90e: 47 95 ror r20 + 910: 37 95 ror r19 + 912: 27 95 ror r18 + 914: ba 95 dec r27 + 916: c9 f7 brne .-14 ; 0x90a <__ultoa_invert+0xa2> + 918: 62 0f add r22, r18 + 91a: 73 1f adc r23, r19 + 91c: 84 1f adc r24, r20 + 91e: 95 1f adc r25, r21 + 920: a0 1d adc r26, r0 + 922: 08 95 ret -0000092a <_exit>: - 92a: f8 94 cli +00000924 <_exit>: + 924: f8 94 cli -0000092c <__stop_program>: - 92c: ff cf rjmp .-2 ; 0x92c <__stop_program> +00000926 <__stop_program>: + 926: ff cf rjmp .-2 ; 0x926 <__stop_program> diff --git a/Microcontrollers/ultrasonicSensor/Debug/ultrasonicSensor.srec b/Microcontrollers/ultrasonicSensor/Debug/ultrasonicSensor.srec index 5f4fb68..6bde30f 100644 --- a/Microcontrollers/ultrasonicSensor/Debug/ultrasonicSensor.srec +++ b/Microcontrollers/ultrasonicSensor/Debug/ultrasonicSensor.srec @@ -1,5 +1,5 @@ S0180000756C747261736F6E696353656E736F722E737265634E -S113000045C000005AC1000056C0000054C00000A2 +S113000045C0000059C1000056C0000054C00000A3 S113001052C0000050C000004EC000004CC00000A0 S11300204AC0000048C0000046C0000044C00000B0 S113003042C0000040C000003EC000003CC00000C0 @@ -8,9 +8,9 @@ S113005032C0000030C000002EC000002CC00000E0 S11300602AC0000028C0000026C0000024C00000F0 S113007022C0000020C000001EC000001CC0000000 S11300801AC0000018C0000016C0000011241FBED2 -S1130090CFEFD0E1DEBFCDBF11E0A0E0B1E0EEE2F2 +S1130090CFEFD0E1DEBFCDBF11E0A0E0B1E0E8E2F8 S11300A0F9E000E00BBF02C007900D92A630B10743 -S11300B0D9F72FD13AC4A4CF9BB321E030E002C0DA +S11300B0D9F72ED137C4A4CF9BB321E030E002C0DE S11300C0220F331F8A95E2F7292B2BBB08959BB38C S11300D021E030E002C0220F331F8A95E2F7209519 S11300E029232BBB089586E090E0E6DF83EC99E0BA @@ -21,130 +21,130 @@ S113012084E090E0C9DFDFDFCF910895CF93C82F3B S113013085BB84E090E0CBDFD6DFC295C07FC5BB32 S113014084E090E0C4DFCFDFCF91089581E0EEDF5B S113015087E893E10197F1F700C0000080E8E6CF5B -S11301600895CF938FEF84BB85BB81BB8ABB15BA3F -S11301701BBAC0E2C5BBB7DFC5BBB5DF80E885BB32 -S1130180B2DF15BAB0DF80EF85BBADDF15BAABDFE8 -S113019080E685BBA8DF82E0C9DFA5DFCF910895A3 -S11301A0CF93DF93EC0102C0B1DF219688818111E6 -S11301B0FBCFDF91CF910895AF92BF92CF92DF92A0 -S11301C0EF92FF920F931F93CF93DF93CDB7DEB7D8 -S11301D0D82EC92EADB6BEB69F938F930F2EF3E0E3 -S11301E0EF2EF1E0FF2EF02DFF92EF921F921F925F -S11301F01F921F92B1D001962DB73EB7285F3F4F93 -S11302000FB6F8943EBF0FBE2DBF281B390B0FB697 -S1130210F8943EBF0FBE2DBF0DB71EB70F5F1F4F23 -S1130220CF92DF92FF92EF929F938F931F930F933E -S113023093D0802F912FB4DF8DB79EB708960FB659 -S1130240F8949EBF0FBE8DBF0FB6F894BEBE0FBE0E -S1130250ADBEDF91CF911F910F91FF90EF90DF9092 -S1130260CF90BF90AF90089520E030E006C046E004 -S11302704A95F1F700C02F5F3F4F28173907B8F3AD -S1130280089520E030E008C0E7E8F3E13197F1F7A2 -S113029000C000002F5F3F4F28173907A8F30895C7 -S11302A0CF93DF93C5E6D0E018828AE090E0DCDFEC -S11302B081E08883DF91CF9108951F920F920FB64A -S11302C00F9211248F939F9389ED97E090930101EE -S11302D08093000180910201813041F482E0809397 -S11302E06A001DBC1CBC109202010CC083E0809308 -S11302F06A008CB59DB5909301018093000181E063 -S1130300809302019F918F910F900FBE0F901F90C9 -S113031018958FEF8093640011BAEAE6F0E08081CB -S11303208360808389B7816089BF1FBC8CE08EBDE8 -S1130330789417DF8FE493EC0197F1F700C0000085 -S113034005DFAEDF03DF809100019091010134DF0E -S113035084E690E096DFF5CF0F931F93CF93DF935E -S1130360CDB7DEB72E970FB6F894DEBF0FBECDBF64 -S11303700D891E898F89988D26E02C831A83098321 -S113038097FF02C080E090E801979E838D83AE01C1 -S1130390455E5F4F698D7A8DCE01019619D04D81EE -S11303A05E8157FD0AC02F813885421753070CF42C -S11303B09A01F801E20FF31F10822E960FB6F894FB -S11303C0DEBF0FBECDBFDF91CF911F910F91089576 -S11303D02F923F924F925F926F927F928F929F9251 -S11303E0AF92BF92CF92DF92EF92FF920F931F933F -S11303F0CF93DF93CDB7DEB72B970FB6F894DEBF5C -S11304000FBECDBF6C017B018A01FC0117821682ED -S1130410838181FFBFC1CE0101963C01F601938126 -S1130420F70193FD859193FF81917F01882309F45E -S1130430ADC1853239F493FD859193FF81917F019C -S1130440853221F4B60190E0D6D1E8CF912C212C4D -S1130450312CFFE1F315D8F08B3279F038F4803287 -S113046079F08332A1F4232D20611DC08D3261F017 -S1130470803369F4232D216016C0832D8260382EC9 -S1130480E32DE4603E2E2AC0F32DF8601DC037FC36 -S11304902DC020ED280F2A3040F08E32B9F436FCFE -S11304A075C1232D2064322E19C036FE06C08AE0A1 -S11304B0989E200D1124922E11C0EAE02E9E200D4C -S11304C01124222EF32DF0623F2E08C08C3621F425 -S11304D0832D8068382E02C0883641F4F70193FDDD -S11304E0859193FF81917F018111B3CF982F9F7DD7 -S11304F09554933028F40C5F1F4F9FE399830DC0EC -S1130500833631F0833771F0833509F055C020C04C -S1130510F801808189830E5F1F4F88248394912C76 -S1130520530112C02801F2E04F0E511CF801A080C3 -S1130530B18036FE03C0692D70E002C06FEF7FEF1B -S1130540C5014ED14C018201F32DFF773F2E15C01A -S1130550280122E0420E511CF801A080B18036FE31 -S113056003C0692D70E002C06FEF7FEFC5012DD18C -S11305704C01F32DF0683F2E820133FC19C0822D0B -S113058090E088169906A0F4B60180E290E033D199 -S11305902A94F5CFF50137FC859137FE81915F01EF -S11305A0B60190E028D121102A9421E0821A910802 -S11305B08114910479F7E1C0843611F0893639F554 -S11305C0F80137FE07C060817181828193810C5FDD -S11305D01F4F08C060817181072E000C880B990B96 -S11305E00E5F1F4FF32DFF763F2E97FF09C09095A6 -S11305F08095709561957F4F8F4F9F4FF0683F2E88 -S11306002AE030E0A30133D1882E861844C0853710 -S113061031F4232D2F7EB22E2AE030E025C0932D15 -S1130620997FB92E8F36C1F018F4883579F0AEC0B1 -S1130630803719F0883721F0A9C0E92FE061BE2E78 -S1130640B4FE0DC0FB2DF460BF2E09C034FE0AC0F9 -S1130650292F2660B22E06C028E030E005C020E134 -S113066030E002C020E132E0F801B7FE07C060814B -S11306707181828193810C5F1F4F06C060817181FB -S113068080E090E00E5F1F4FA301F1D0882E861802 -S1130690FB2DFF773F2E36FE0DC0232D2E7FA22E7D -S11306A0891458F434FE0BC032FC09C0832D8E7EAD -S11306B0A82E05C0B82CA32C03C0B82C01C0B92C9B -S11306C0A4FE0FC0FE01E80DF11D8081803321F4EA -S11306D09A2D997EA92E09C0A2FE06C0B394B394A4 -S11306E004C08A2D867809F0B394A3FC10C0A0FE40 -S11306F006C0B21480F4280C922C9B180DC0B214BE -S113070058F4B60180E290E076D0B394F8CFB214F6 -S113071018F42B1802C0982C212CA4FE0FC0B6018B -S113072080E390E068D0A2FE16C0A1FC03C088E775 -S113073090E002C088E590E0B6010CC08A2D86786E -S113074051F0A1FE02C08BE201C080E2A7FC8DE261 -S1130750B60190E050D0891430F4B60180E390E003 -S11307604AD09A94F8CF8A94F301E80DF11D808160 -S1130770B60190E040D08110F6CF222009F44ECE8D -S1130780B60180E290E037D02A94F7CFF601868153 -S1130790978102C08FEF9FEF2B960FB6F894DEBFC0 -S11307A00FBECDBFDF91CF911F910F91FF90EF90BE -S11307B0DF90CF90BF90AF909F908F907F906F907D -S11307C05F904F903F902F900895FC0105906150E9 -S11307D070400110D8F7809590958E0F9F1F089553 -S11307E0FC016150704001900110D8F780959095FC -S11307F08E0F9F1F08950F931F93CF93DF93FB01D9 -S1130800238121FD03C08FEF9FEF2CC022FF16C070 -S113081046815781248135814217530744F4A081CE -S1130820B1819D012F5F3F4F318320838C932681BB -S113083037812F5F3F4F3783268314C08B01EC0130 -S1130840FB010084F185E02D0995892BE1F6D8019F -S113085016968D919C911797019617969C938E935B -S11308601697CE01DF91CF911F910F910895FA0150 -S1130870AA27283051F1203181F1E8946F936E7FDB -S11308806E5F7F4F8F4F9F4FAF4FB1E03ED0B4E0CC -S11308903CD0670F781F891F9A1FA11D680F791F0D -S11308A08A1F911DA11D6A0F711D811D911DA11D1E -S11308B020D009F468943F912AE0269F112430192E -S11308C0305D3193DEF6CF010895462F4770405DC9 -S11308D04193B3E00FD0C9F7F6CF462F4F70405D78 -S11308E04A3318F0495D31FD4052419302D0A9F7D3 -S11308F0EACFB4E0A6959795879577956795BA95CD -S1130900C9F700976105710508959B01AC010A2E92 -S113091006945795479537952795BA95C9F7620F69 -S1110920731F841F951FA01D0895F894FFCF28 -S109092E7D0001256400B8 +S11301600895CF938FEF84BB85BB8ABB15BA1BBAA6 +S1130170C0E2C5BBB8DFC5BBB6DF80E885BBB3DF73 +S113018015BAB1DF80EF85BBAEDF15BAACDF80E610 +S113019085BBA9DF82E0CADFA6DFCF910895CF93A4 +S11301A0DF93EC0102C0B2DF219688818111FBCF7D +S11301B0DF91CF910895AF92BF92CF92DF92EF92E9 +S11301C0FF920F931F93CF93DF93CDB7DEB7D82E53 +S11301D0C92EADB6BEB69F938F930F2EF3E0EF2ECC +S11301E0F1E0FF2EF02DFF92EF921F921F921F92CB +S11301F01F92AFD001962DB73EB7285F3F4F0FB681 +S1130200F8943EBF0FBE2DBF281B390B0FB6F894D0 +S11302103EBF0FBE2DBF0DB71EB70F5F1F4FCF924E +S1130220DF92FF92EF929F938F931F930F9391D03E +S1130230802F912FB4DF8DB79EB708960FB6F89430 +S11302409EBF0FBE8DBF0FB6F894BEBE0FBEADBE2F +S1130250DF91CF911F910F91FF90EF90DF90CF909E +S1130260BF90AF90089520E030E006C046E04A9584 +S1130270F1F700C02F5F3F4F28173907B8F30895EF +S113028020E030E008C0E7E8F3E13197F1F700C07F +S113029000002F5F3F4F28173907A8F30895CF9325 +S11302A0DF93C5E6D0E018828AE090E0DCDF81E0ED +S11302B08883DF91CF9108951F920F920FB60F920A +S11302C011248F939F9389ED97E09093010180937C +S11302D0000180910201813041F482E080936A0040 +S11302E01DBC1CBC109202010CC083E080936A0008 +S11302F08CB59DB5909301018093000181E08093BA +S113030002019F918F910F900FBE0F901F9018952F +S11303108FEF8093640011BA83E080936A0089B7F9 +S1130320816089BF1FBC8CE08EBD78941ADF8FE496 +S113033093EC0197F1F700C0000008DFB0DF06DF9F +S1130340809100019091010136DF84E690E098DF0E +S1130350F5CF0F931F93CF93DF93CDB7DEB72E97CF +S11303600FB6F894DEBF0FBECDBF0D891E898F89ED +S1130370988D26E02C831A83098397FF02C080E0BE +S113038090E801979E838D83AE01455E5F4F698D32 +S11303907A8DCE01019619D04D815E8157FD0AC038 +S11303A02F813885421753070CF49A01F801E20FA4 +S11303B0F31F10822E960FB6F894DEBF0FBECDBF8A +S11303C0DF91CF911F910F9108952F923F924F92F9 +S11303D05F926F927F928F929F92AF92BF92CF92D1 +S11303E0DF92EF92FF920F931F93CF93DF93CDB7DA +S11303F0DEB72B970FB6F894DEBF0FBECDBF6C01EE +S11304007B018A01FC0117821682838181FFBFC1AF +S1130410CE0101963C01F6019381F70193FD85918C +S113042093FF81917F01882309F4ADC1853239F4AA +S113043093FD859193FF81917F01853221F4B6016B +S113044090E0D6D1E8CF912C212C312CFFE1F3158B +S1130450D8F08B3279F038F4803279F08332A1F419 +S1130460232D20611DC08D3261F0803369F4232D6A +S1130470216016C0832D8260382EE32DE4603E2E69 +S11304802AC0F32DF8601DC037FC2DC020ED280FC5 +S11304902A3040F08E32B9F436FC75C1232D206425 +S11304A0322E19C036FE06C08AE0989E200D112413 +S11304B0922E11C0EAE02E9E200D1124222EF32D3F +S11304C0F0623F2E08C08C3621F4832D8068382ECC +S11304D002C0883641F4F70193FD859193FF819121 +S11304E07F018111B3CF982F9F7D9554933028F4C9 +S11304F00C5F1F4F9FE399830DC0833631F0833720 +S113050071F0833509F055C020C0F80180818983DA +S11305100E5F1F4F88248394912C530112C028012D +S1130520F2E04F0E511CF801A080B18036FE03C0EA +S1130530692D70E002C06FEF7FEFC5014ED14C0111 +S11305408201F32DFF773F2E15C0280122E0420ED1 +S1130550511CF801A080B18036FE03C0692D70E003 +S113056002C06FEF7FEFC5012DD14C01F32DF06870 +S11305703F2E820133FC19C0822D90E08816990623 +S1130580A0F4B60180E290E033D12A94F5CFF501CE +S113059037FC859137FE81915F01B60190E028D147 +S11305A021102A9421E0821A91088114910479F788 +S11305B0E1C0843611F0893639F5F80137FE07C0F9 +S11305C060817181828193810C5F1F4F08C06081BB +S11305D07181072E000C880B990B0E5F1F4FF32DB2 +S11305E0FF763F2E97FF09C0909580957095619591 +S11305F07F4F8F4F9F4FF0683F2E2AE030E0A301DA +S113060033D1882E861844C0853731F4232D2F7EAC +S1130610B22E2AE030E025C0932D997FB92E8F3673 +S1130620C1F018F4883579F0AEC0803719F08837F6 +S113063021F0A9C0E92FE061BE2EB4FE0DC0FB2D50 +S1130640F460BF2E09C034FE0AC0292F2660B22EE2 +S113065006C028E030E005C020E130E002C020E11F +S113066032E0F801B7FE07C0608171818281938115 +S11306700C5F1F4F06C06081718180E090E00E5FC7 +S11306801F4FA301F1D0882E8618FB2DFF773F2E34 +S113069036FE0DC0232D2E7FA22E891458F434FE6D +S11306A00BC032FC09C0832D8E7EA82E05C0B82C49 +S11306B0A32C03C0B82C01C0B92CA4FE0FC0FE01AA +S11306C0E80DF11D8081803321F49A2D997EA92EA5 +S11306D009C0A2FE06C0B394B39404C08A2D8678E0 +S11306E009F0B394A3FC10C0A0FE06C0B21480F4B9 +S11306F0280C922C9B180DC0B21458F4B60180E259 +S113070090E076D0B394F8CFB21418F42B1802C04A +S1130710982C212CA4FE0FC0B60180E390E068D091 +S1130720A2FE16C0A1FC03C088E790E002C088E5E1 +S113073090E0B6010CC08A2D867851F0A1FE02C06B +S11307408BE201C080E2A7FC8DE2B60190E050D0BC +S1130750891430F4B60180E390E04AD09A94F8CF3B +S11307608A94F301E80DF11D8081B60190E040D038 +S11307708110F6CF222009F44ECEB60180E290E03B +S113078037D02A94F7CFF6018681978102C08FEF84 +S11307909FEF2B960FB6F894DEBF0FBECDBFDF914F +S11307A0CF911F910F91FF90EF90DF90CF90BF906A +S11307B0AF909F908F907F906F905F904F903F90FD +S11307C02F900895FC010590615070400110D8F7F6 +S11307D0809590958E0F9F1F0895FC016150704085 +S11307E001900110D8F7809590958E0F9F1F089562 +S11307F00F931F93CF93DF93FB01238121FD03C04C +S11308008FEF9FEF2CC022FF16C0468157812481B1 +S113081035814217530744F4A081B1819D012F5FB4 +S11308203F4F318320838C93268137812F5F3F4F45 +S11308303783268314C08B01EC01FB010084F1850E +S1130840E02D0995892BE1F6D80116968D919C919E +S11308501797019617969C938E931697CE01DF9166 +S1130860CF911F910F910895FA01AA27283051F1D1 +S1130870203181F1E8946F936E7F6E5F7F4F8F4FCD +S11308809F4FAF4FB1E03ED0B4E03CD0670F781F2C +S1130890891F9A1FA11D680F791F8A1F911DA11D11 +S11308A06A0F711D811D911DA11D20D009F468944A +S11308B03F912AE0269F11243019305D3193DEF6F2 +S11308C0CF010895462F4770405D4193B3E00FD0A8 +S11308D0C9F7F6CF462F4F70405D4A3318F0495D93 +S11308E031FD4052419302D0A9F7EACFB4E0A69576 +S11308F09795879577956795BA95C9F70097610598 +S1130900710508959B01AC010A2E069457954795ED +S113091037952795BA95C9F7620F731F841F951FE2 +S10B0920A01D0895F894FFCF17 +S10909287D0001256400BE S9030000FC diff --git a/Microcontrollers/ultrasonicSensor/lcd_control.c b/Microcontrollers/ultrasonicSensor/lcd_control.c index 07fc59c..64bacb3 100644 --- a/Microcontrollers/ultrasonicSensor/lcd_control.c +++ b/Microcontrollers/ultrasonicSensor/lcd_control.c @@ -55,7 +55,6 @@ void init_4bits_mode(void) { DDRC = 0xFF; // PORTD(7) output, PORTD(6:0) input PORTC = 0xFF; - DDRD = 0xFF; DDRA = 0xFF; PORTC = 0x00; PORTA = 0x00; diff --git a/Microcontrollers/ultrasonicSensor/main.c b/Microcontrollers/ultrasonicSensor/main.c index f6882d1..d6df783 100644 --- a/Microcontrollers/ultrasonicSensor/main.c +++ b/Microcontrollers/ultrasonicSensor/main.c @@ -90,7 +90,7 @@ int main(void) DDRG = 0xFF; // port g all output. pin 0 is trig, the rest is for debug DDRD = 0x00; // port D pin 0 on input. 0 is echo and also interrupt - EICRA |= 0x03; // interrupt PORTD on pin 0, rising edge + EICRA = 0x03; // interrupt PORTD on pin 0, rising edge EIMSK |= 0x01; // enable interrupt on pin 0 (INT0)