GAS LISTING /tmp/ccu5theb.s page 1 1 .file "time.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.time,"ax",@progbits 9 .global time 10 .type time, @function 11 time: 12 0000 CF92 push r12 13 0002 DF92 push r13 14 0004 EF92 push r14 15 0006 FF92 push r15 16 0008 CF93 push r28 17 000a DF93 push r29 18 /* prologue: function */ 19 /* frame size = 0 */ 20 /* stack size = 6 */ 21 .L__stack_usage = 6 22 000c EC01 movw r28,r24 23 000e C090 0000 lds r12,epo_offs 24 0012 D090 0000 lds r13,epo_offs+1 25 0016 E090 0000 lds r14,epo_offs+2 26 001a F090 0000 lds r15,epo_offs+3 27 001e 0E94 0000 call NutGetSeconds 28 0022 6C0D add r22,r12 29 0024 7D1D adc r23,r13 30 0026 8E1D adc r24,r14 31 0028 9F1D adc r25,r15 32 002a 2097 sbiw r28,0 33 002c 01F0 breq .L2 34 002e 6883 st Y,r22 35 0030 7983 std Y+1,r23 36 0032 8A83 std Y+2,r24 37 0034 9B83 std Y+3,r25 38 .L2: 39 /* epilogue start */ 40 0036 DF91 pop r29 41 0038 CF91 pop r28 42 003a FF90 pop r15 43 003c EF90 pop r14 44 003e DF90 pop r13 45 0040 CF90 pop r12 46 0042 0895 ret 47 .size time, .-time 48 .section .text.stime,"ax",@progbits 49 .global stime 50 .type stime, @function 51 stime: 52 0000 CF92 push r12 53 0002 DF92 push r13 54 0004 EF92 push r14 55 0006 FF92 push r15 56 /* prologue: function */ 57 /* frame size = 0 */ GAS LISTING /tmp/ccu5theb.s page 2 58 /* stack size = 4 */ 59 .L__stack_usage = 4 60 0008 FC01 movw r30,r24 61 000a C080 ld r12,Z 62 000c D180 ldd r13,Z+1 63 000e E280 ldd r14,Z+2 64 0010 F380 ldd r15,Z+3 65 0012 0E94 0000 call NutGetSeconds 66 0016 E0E0 ldi r30,lo8(epo_offs) 67 0018 F0E0 ldi r31,hi8(epo_offs) 68 001a C61A sub r12,r22 69 001c D70A sbc r13,r23 70 001e E80A sbc r14,r24 71 0020 F90A sbc r15,r25 72 0022 C082 st Z,r12 73 0024 D182 std Z+1,r13 74 0026 E282 std Z+2,r14 75 0028 F382 std Z+3,r15 76 002a 1482 std Z+4,__zero_reg__ 77 002c 1582 std Z+5,__zero_reg__ 78 002e 1682 std Z+6,__zero_reg__ 79 0030 1782 std Z+7,__zero_reg__ 80 0032 80E0 ldi r24,0 81 0034 90E0 ldi r25,0 82 /* epilogue start */ 83 0036 FF90 pop r15 84 0038 EF90 pop r14 85 003a DF90 pop r13 86 003c CF90 pop r12 87 003e 0895 ret 88 .size stime, .-stime 89 .global epo_offs 90 .section .bss 91 .type epo_offs, @object 92 .size epo_offs, 8 93 epo_offs: 94 0000 0000 0000 .zero 8 94 0000 0000 95 .ident "GCC: (GNU) 5.3.0" 96 .global __do_clear_bss GAS LISTING /tmp/ccu5theb.s page 3 DEFINED SYMBOLS *ABS*:0000000000000000 time.c /tmp/ccu5theb.s:2 *ABS*:000000000000003e __SP_H__ /tmp/ccu5theb.s:3 *ABS*:000000000000003d __SP_L__ /tmp/ccu5theb.s:4 *ABS*:000000000000003f __SREG__ /tmp/ccu5theb.s:5 *ABS*:000000000000003b __RAMPZ__ /tmp/ccu5theb.s:6 *ABS*:0000000000000000 __tmp_reg__ /tmp/ccu5theb.s:7 *ABS*:0000000000000001 __zero_reg__ /tmp/ccu5theb.s:11 .text.time:0000000000000000 time /tmp/ccu5theb.s:93 .bss:0000000000000000 epo_offs /tmp/ccu5theb.s:51 .text.stime:0000000000000000 stime UNDEFINED SYMBOLS NutGetSeconds __do_clear_bss