--- No source file ------------------------------------------------------------- 00000000 RJMP PC+0x001A Relative jump 00000001 RJMP PC+0x0029 Relative jump 00000002 RJMP PC+0x0028 Relative jump 00000003 RJMP PC+0x0027 Relative jump 00000004 RJMP PC+0x0026 Relative jump 00000005 RJMP PC+0x0025 Relative jump 00000006 RJMP PC+0x0024 Relative jump 00000007 RJMP PC+0x0023 Relative jump 00000008 RJMP PC+0x0022 Relative jump 00000009 RJMP PC+0x0021 Relative jump 0000000A RJMP PC+0x0020 Relative jump 0000000B RJMP PC+0x001F Relative jump 0000000C RJMP PC+0x001E Relative jump 0000000D RJMP PC+0x001D Relative jump 0000000E RJMP PC+0x0080 Relative jump 0000000F RJMP PC+0x001B Relative jump 00000010 RJMP PC+0x001A Relative jump 00000011 RJMP PC+0x0019 Relative jump 00000012 RJMP PC+0x0018 Relative jump 00000013 RJMP PC+0x0017 Relative jump 00000014 RJMP PC+0x0016 Relative jump 00000015 RJMP PC+0x0015 Relative jump 00000016 RJMP PC+0x0014 Relative jump 00000017 RJMP PC+0x0013 Relative jump 00000018 RJMP PC+0x0012 Relative jump 00000019 RJMP PC+0x0011 Relative jump 0000001A CLR R1 Clear Register 0000001B OUT 0x3F,R1 Out to I/O location 0000001C SER R28 Set Register 0000001D LDI R29,0x04 Load immediate 0000001E OUT 0x3E,R29 Out to I/O location 0000001F OUT 0x3D,R28 Out to I/O location 00000020 LDI R18,0x01 Load immediate 00000021 LDI R26,0x00 Load immediate 00000022 LDI R27,0x01 Load immediate 00000023 RJMP PC+0x0002 Relative jump 00000024 ST X+,R1 Store indirect and postincrement 00000025 CPI R26,0x04 Compare with immediate 00000026 CPC R27,R18 Compare with carry 00000027 BRNE PC-0x03 Branch if not equal 00000028 RCALL PC+0x0046 Relative call subroutine 00000029 RJMP PC+0x008D Relative jump 0000002A RJMP PC-0x002A Relative jump --- D:\Benutzer\JackFrost\Documents\Atmel Studio\7.0\Test\Test\Debug/.././main.c 25: void initGPIO( void ) { 26: 27: /* Complete PORTD is used as output for LED stripes */ 28: LED_DIR = ( 1<0U; --ms) { 00000041 SBIW R24,0x00 Subtract immediate from word 00000042 BREQ PC+0x09 Branch if equal --- c:\program files (x86)\atmel\studio\7.0\toolchain\avr8\avr8-gnu-toolchain\avr\include\util/delay.h 163: __builtin_avr_delay_cycles(__ticks_dc); 00000043 LDI R30,0xF9 Load immediate 00000044 LDI R31,0x00 Load immediate 00000045 SBIW R30,0x01 Subtract immediate from word 00000046 BRNE PC-0x01 Branch if not equal 00000047 RJMP PC+0x0001 Relative jump 00000048 NOP No operation --- D:\Benutzer\JackFrost\Documents\Atmel Studio\7.0\Test\Test\Debug/.././main.c 53: for (; ms>0U; --ms) { 00000049 SBIW R24,0x01 Subtract immediate from word 0000004A BRNE PC-0x07 Branch if not equal 0000004B RET Subroutine return 59: void runUpstairs( void ) { 0000004C PUSH R28 Push register on stack 59: void runUpstairs( void ) { 0000004D LDI R28,0x08 Load immediate 62: LED_VAL = (LED_VAL<<1U) | 1U; 0000004E IN R24,0x0B In from I/O location 0000004F LSL R24 Logical Shift Left 00000050 ORI R24,0x01 Logical OR with immediate 00000051 OUT 0x0B,R24 Out to I/O location 63: long_delay( TURN_ON_MS ); 00000052 LDI R24,0x64 Load immediate 00000053 LDI R25,0x00 Load immediate 00000054 RCALL PC-0x0013 Relative call subroutine 00000055 SUBI R28,0x01 Subtract immediate 61: for( uint8_t i=0U; i<8; ++i ) { 00000056 BRNE PC-0x08 Branch if not equal 66: long_delay( TURN_OFF_MS ); 00000057 LDI R24,0xE8 Load immediate 00000058 LDI R25,0x03 Load immediate 00000059 RCALL PC-0x0018 Relative call subroutine 67: LED_VAL = 0U; 0000005A OUT 0x0B,R1 Out to I/O location 69: } 0000005B POP R28 Pop register from stack 0000005C RET Subroutine return 71: void runDownstairs( void ) { 0000005D PUSH R28 Push register on stack 71: void runDownstairs( void ) { 0000005E LDI R28,0x08 Load immediate --- D:\Benutzer\JackFrost\Documents\Atmel Studio\7.0\Test\Test\Debug/.././main.c 74: LED_VAL =(LED_VAL>>1U) | 0x80U; 0000005F IN R24,0x0B In from I/O location 00000060 LSR R24 Logical shift right 00000061 ORI R24,0x80 Logical OR with immediate 00000062 OUT 0x0B,R24 Out to I/O location 75: long_delay( TURN_ON_MS ); 00000063 LDI R24,0x64 Load immediate 00000064 LDI R25,0x00 Load immediate 00000065 RCALL PC-0x0024 Relative call subroutine 00000066 SUBI R28,0x01 Subtract immediate 73: for( uint8_t i=0U; i<8; ++i ) { 00000067 BRNE PC-0x08 Branch if not equal 78: long_delay( TURN_OFF_MS ); 00000068 LDI R24,0xE8 Load immediate 00000069 LDI R25,0x03 Load immediate 0000006A RCALL PC-0x0029 Relative call subroutine 79: LED_VAL = 0U; 0000006B OUT 0x0B,R1 Out to I/O location 81: } 0000006C POP R28 Pop register from stack 0000006D RET Subroutine return 85: initGPIO(); 0000006E RCALL PC-0x0043 Relative call subroutine 86: initTIMER(); 0000006F RCALL PC-0x003C Relative call subroutine 88: current_state = IDLE; 00000070 STS 0x0100,R1 Store direct to data space 97: current_state = RUN_DOWNSTAIRS; 00000072 LDI R29,0x02 Load immediate 94: current_state = RUN_UPSTAIRS; 00000073 LDI R28,0x01 Load immediate 93: if( INP_VAL & (1<