ethin.lst 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  1. GAS LISTING /tmp/ccGjUJGM.s page 1
  2. 1 .file "ethin.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.NutEtherInput,"ax",@progbits
  10. 9 .global NutEtherInput
  11. 10 .type NutEtherInput, @function
  12. 11 NutEtherInput:
  13. 12 0000 EF92 push r14
  14. 13 0002 FF92 push r15
  15. 14 0004 0F93 push r16
  16. 15 0006 1F93 push r17
  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 8C01 movw r16,r24
  24. 23 000e EB01 movw r28,r22
  25. 24 0010 EB80 ldd r14,Y+3
  26. 25 0012 FC80 ldd r15,Y+4
  27. 26 0014 C701 movw r24,r14
  28. 27 0016 0E96 adiw r24,14
  29. 28 0018 9887 std Y+8,r25
  30. 29 001a 8F83 std Y+7,r24
  31. 30 001c 8D81 ldd r24,Y+5
  32. 31 001e 9E81 ldd r25,Y+6
  33. 32 0020 0E97 sbiw r24,14
  34. 33 0022 9A87 std Y+10,r25
  35. 34 0024 8987 std Y+9,r24
  36. 35 0026 8EE0 ldi r24,lo8(14)
  37. 36 0028 90E0 ldi r25,0
  38. 37 002a 9E83 std Y+6,r25
  39. 38 002c 8D83 std Y+5,r24
  40. 39 002e E091 0000 lds r30,ether_demux
  41. 40 0032 F091 0000 lds r31,ether_demux+1
  42. 41 0036 3097 sbiw r30,0
  43. 42 0038 01F4 brne .L2
  44. 43 .L6:
  45. 44 003a F701 movw r30,r14
  46. 45 003c 8485 ldd r24,Z+12
  47. 46 003e 9585 ldd r25,Z+13
  48. 47 /* #APP */
  49. 48 ; 309 "../../nut/include/sys/types.h" 1
  50. 49 0040 082E mov __tmp_reg__, r24
  51. 50 0042 892F mov r24, r25
  52. 51 0044 902D mov r25, __tmp_reg__
  53. 52
  54. 53 ; 0 "" 2
  55. 54 /* #NOAPP */
  56. 55 0046 8115 cp r24,__zero_reg__
  57. 56 0048 F8E0 ldi r31,8
  58. 57 004a 9F07 cpc r25,r31
  59. GAS LISTING /tmp/ccGjUJGM.s page 2
  60. 58 004c 01F0 breq .L4
  61. 59 004e 8630 cpi r24,6
  62. 60 0050 9840 sbci r25,8
  63. 61 0052 01F4 brne .L11
  64. 62 0054 BE01 movw r22,r28
  65. 63 0056 C801 movw r24,r16
  66. 64 /* epilogue start */
  67. 65 0058 DF91 pop r29
  68. 66 005a CF91 pop r28
  69. 67 005c 1F91 pop r17
  70. 68 005e 0F91 pop r16
  71. 69 0060 FF90 pop r15
  72. 70 0062 EF90 pop r14
  73. 71 0064 0C94 0000 jmp NutArpInput
  74. 72 .L2:
  75. 73 0068 C801 movw r24,r16
  76. 74 006a 1995 eicall
  77. 75 006c 892B or r24,r25
  78. 76 006e 01F4 brne .L6
  79. 77 /* epilogue start */
  80. 78 0070 DF91 pop r29
  81. 79 0072 CF91 pop r28
  82. 80 0074 1F91 pop r17
  83. 81 0076 0F91 pop r16
  84. 82 0078 FF90 pop r15
  85. 83 007a EF90 pop r14
  86. 84 007c 0895 ret
  87. 85 .L4:
  88. 86 007e BE01 movw r22,r28
  89. 87 0080 C801 movw r24,r16
  90. 88 /* epilogue start */
  91. 89 0082 DF91 pop r29
  92. 90 0084 CF91 pop r28
  93. 91 0086 1F91 pop r17
  94. 92 0088 0F91 pop r16
  95. 93 008a FF90 pop r15
  96. 94 008c EF90 pop r14
  97. 95 008e 0C94 0000 jmp NutIpInput
  98. 96 .L11:
  99. 97 0092 CE01 movw r24,r28
  100. 98 /* epilogue start */
  101. 99 0094 DF91 pop r29
  102. 100 0096 CF91 pop r28
  103. 101 0098 1F91 pop r17
  104. 102 009a 0F91 pop r16
  105. 103 009c FF90 pop r15
  106. 104 009e EF90 pop r14
  107. 105 00a0 0C94 0000 jmp NutNetBufFree
  108. 106 .size NutEtherInput, .-NutEtherInput
  109. 107 .comm ether_demux,2,1
  110. 108 .ident "GCC: (GNU) 5.3.0"
  111. 109 .global __do_clear_bss
  112. GAS LISTING /tmp/ccGjUJGM.s page 3
  113. DEFINED SYMBOLS
  114. *ABS*:0000000000000000 ethin.c
  115. /tmp/ccGjUJGM.s:2 *ABS*:000000000000003e __SP_H__
  116. /tmp/ccGjUJGM.s:3 *ABS*:000000000000003d __SP_L__
  117. /tmp/ccGjUJGM.s:4 *ABS*:000000000000003f __SREG__
  118. /tmp/ccGjUJGM.s:5 *ABS*:000000000000003b __RAMPZ__
  119. /tmp/ccGjUJGM.s:6 *ABS*:0000000000000000 __tmp_reg__
  120. /tmp/ccGjUJGM.s:7 *ABS*:0000000000000001 __zero_reg__
  121. /tmp/ccGjUJGM.s:11 .text.NutEtherInput:0000000000000000 NutEtherInput
  122. *COM*:0000000000000002 ether_demux
  123. UNDEFINED SYMBOLS
  124. NutArpInput
  125. NutIpInput
  126. NutNetBufFree
  127. __do_clear_bss