time.lst 4.2 KB

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