GAS LISTING /tmp/ccudp2rm.s page 1 1 .file "reset.c" 2 __SP_H__ = 0x3e 3 __SP_L__ = 0x3d 4 __SREG__ = 0x3f 5 __RAMPZ__ = 0x3b 6 __tmp_reg__ = 0 7 __zero_reg__ = 1 8 .section .text.NutReset,"ax",@progbits 9 .global NutReset 10 .type NutReset, @function 11 NutReset: 12 /* prologue: function */ 13 /* frame size = 0 */ 14 /* stack size = 0 */ 15 .L__stack_usage = 0 16 0000 61E0 ldi r22,lo8(1) 17 0002 70E0 ldi r23,0 18 0004 80E0 ldi r24,0 19 0006 90E0 ldi r25,0 20 0008 0E94 0000 call AvrWatchDogStart 21 000c 672B or r22,r23 22 000e 682B or r22,r24 23 0010 692B or r22,r25 24 0012 01F0 breq .L1 25 .L4: 26 0014 00C0 rjmp .L4 27 .L1: 28 0016 0895 ret 29 .size NutReset, .-NutReset 30 .section .text.NutResetCause,"ax",@progbits 31 .global NutResetCause 32 .type NutResetCause, @function 33 NutResetCause: 34 /* prologue: function */ 35 /* frame size = 0 */ 36 /* stack size = 0 */ 37 .L__stack_usage = 0 38 0000 80E0 ldi r24,0 39 0002 90E0 ldi r25,0 40 0004 0895 ret 41 .size NutResetCause, .-NutResetCause 42 .ident "GCC: (GNU) 5.3.0" GAS LISTING /tmp/ccudp2rm.s page 2 DEFINED SYMBOLS *ABS*:0000000000000000 reset.c /tmp/ccudp2rm.s:2 *ABS*:000000000000003e __SP_H__ /tmp/ccudp2rm.s:3 *ABS*:000000000000003d __SP_L__ /tmp/ccudp2rm.s:4 *ABS*:000000000000003f __SREG__ /tmp/ccudp2rm.s:5 *ABS*:000000000000003b __RAMPZ__ /tmp/ccudp2rm.s:6 *ABS*:0000000000000000 __tmp_reg__ /tmp/ccudp2rm.s:7 *ABS*:0000000000000001 __zero_reg__ /tmp/ccudp2rm.s:11 .text.NutReset:0000000000000000 NutReset /tmp/ccudp2rm.s:33 .text.NutResetCause:0000000000000000 NutResetCause UNDEFINED SYMBOLS AvrWatchDogStart