papin.lst 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174
  1. GAS LISTING /tmp/ccymNaft.s page 1
  2. 1 .file "papin.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.PapRxAuthReq,"ax",@progbits
  10. 9 .global PapRxAuthReq
  11. 10 .type PapRxAuthReq, @function
  12. 11 PapRxAuthReq:
  13. 12 /* prologue: function */
  14. 13 /* frame size = 0 */
  15. 14 /* stack size = 0 */
  16. 15 .L__stack_usage = 0
  17. 16 0000 9A01 movw r18,r20
  18. 17 0002 462F mov r20,r22
  19. 18 0004 62E0 ldi r22,lo8(2)
  20. 19 0006 0C94 0000 jmp NutPapOutput
  21. 20 .size PapRxAuthReq, .-PapRxAuthReq
  22. 21 .section .text.PapRxAuthAck,"ax",@progbits
  23. 22 .global PapRxAuthAck
  24. 23 .type PapRxAuthAck, @function
  25. 24 PapRxAuthAck:
  26. 25 /* prologue: function */
  27. 26 /* frame size = 0 */
  28. 27 /* stack size = 0 */
  29. 28 .L__stack_usage = 0
  30. 29 0000 DC01 movw r26,r24
  31. 30 0002 5196 adiw r26,17
  32. 31 0004 ED91 ld r30,X+
  33. 32 0006 FC91 ld r31,X
  34. 33 0008 5297 sbiw r26,17+1
  35. 34 000a 26AD ldd r18,Z+62
  36. 35 000c 2330 cpi r18,lo8(3)
  37. 36 000e 01F4 brne .L2
  38. 37 0010 24E0 ldi r18,lo8(4)
  39. 38 0012 26AF std Z+62,r18
  40. 39 0014 0C94 0000 jmp IpcpLowerUp
  41. 40 .L2:
  42. 41 0018 0895 ret
  43. 42 .size PapRxAuthAck, .-PapRxAuthAck
  44. 43 .section .text.PapRxAuthNak,"ax",@progbits
  45. 44 .global PapRxAuthNak
  46. 45 .type PapRxAuthNak, @function
  47. 46 PapRxAuthNak:
  48. 47 /* prologue: function */
  49. 48 /* frame size = 0 */
  50. 49 /* stack size = 0 */
  51. 50 .L__stack_usage = 0
  52. 51 0000 DC01 movw r26,r24
  53. 52 0002 5196 adiw r26,17
  54. 53 0004 ED91 ld r30,X+
  55. 54 0006 FC91 ld r31,X
  56. 55 0008 5297 sbiw r26,17+1
  57. 56 000a 26AD ldd r18,Z+62
  58. 57 000c 2330 cpi r18,lo8(3)
  59. GAS LISTING /tmp/ccymNaft.s page 2
  60. 58 000e 01F4 brne .L5
  61. 59 0010 25E0 ldi r18,lo8(5)
  62. 60 0012 26AF std Z+62,r18
  63. 61 0014 0C94 0000 jmp IpcpLowerDown
  64. 62 .L5:
  65. 63 0018 0895 ret
  66. 64 .size PapRxAuthNak, .-PapRxAuthNak
  67. 65 .section .text.NutPapInput,"ax",@progbits
  68. 66 .global NutPapInput
  69. 67 .type NutPapInput, @function
  70. 68 NutPapInput:
  71. 69 0000 CF93 push r28
  72. 70 0002 DF93 push r29
  73. 71 /* prologue: function */
  74. 72 /* frame size = 0 */
  75. 73 /* stack size = 2 */
  76. 74 .L__stack_usage = 2
  77. 75 0004 EB01 movw r28,r22
  78. 76 0006 6985 ldd r22,Y+9
  79. 77 0008 7A85 ldd r23,Y+10
  80. 78 000a 6430 cpi r22,4
  81. 79 000c 7105 cpc r23,__zero_reg__
  82. 80 000e 00F0 brlo .L10
  83. 81 0010 EF81 ldd r30,Y+7
  84. 82 0012 F885 ldd r31,Y+8
  85. 83 0014 2281 ldd r18,Z+2
  86. 84 0016 3381 ldd r19,Z+3
  87. 85 0018 A901 movw r20,r18
  88. 86 /* #APP */
  89. 87 ; 309 "../../nut/include/sys/types.h" 1
  90. 88 001a 042E mov __tmp_reg__, r20
  91. 89 001c 452F mov r20, r21
  92. 90 001e 502D mov r21, __tmp_reg__
  93. 91
  94. 92 ; 0 "" 2
  95. 93 /* #NOAPP */
  96. 94 0020 4430 cpi r20,4
  97. 95 0022 5105 cpc r21,__zero_reg__
  98. 96 0024 00F0 brlo .L10
  99. 97 0026 6417 cp r22,r20
  100. 98 0028 7507 cpc r23,r21
  101. 99 002a 00F0 brlo .L10
  102. 100 002c AF01 movw r20,r30
  103. 101 002e 4C5F subi r20,-4
  104. 102 0030 5F4F sbci r21,-1
  105. 103 0032 588B std Y+16,r21
  106. 104 0034 4F87 std Y+15,r20
  107. 105 /* #APP */
  108. 106 ; 309 "../../nut/include/sys/types.h" 1
  109. 107 0036 022E mov __tmp_reg__, r18
  110. 108 0038 232F mov r18, r19
  111. 109 003a 302D mov r19, __tmp_reg__
  112. 110
  113. 111 ; 0 "" 2
  114. 112 /* #NOAPP */
  115. 113 003c 2450 subi r18,4
  116. 114 003e 3109 sbc r19,__zero_reg__
  117. GAS LISTING /tmp/ccymNaft.s page 3
  118. 115 0040 3A8B std Y+18,r19
  119. 116 0042 298B std Y+17,r18
  120. 117 0044 2081 ld r18,Z
  121. 118 0046 2230 cpi r18,lo8(2)
  122. 119 0048 01F0 breq .L11
  123. 120 004a 2330 cpi r18,lo8(3)
  124. 121 004c 01F0 breq .L12
  125. 122 004e 2130 cpi r18,lo8(1)
  126. 123 0050 01F4 brne .L10
  127. 124 0052 AE01 movw r20,r28
  128. 125 0054 6181 ldd r22,Z+1
  129. 126 0056 0E94 0000 call PapRxAuthReq
  130. 127 005a 00C0 rjmp .L10
  131. 128 .L11:
  132. 129 005c AE01 movw r20,r28
  133. 130 005e 6181 ldd r22,Z+1
  134. 131 0060 0E94 0000 call PapRxAuthAck
  135. 132 0064 00C0 rjmp .L10
  136. 133 .L12:
  137. 134 0066 AE01 movw r20,r28
  138. 135 0068 6181 ldd r22,Z+1
  139. 136 006a 0E94 0000 call PapRxAuthNak
  140. 137 .L10:
  141. 138 006e CE01 movw r24,r28
  142. 139 /* epilogue start */
  143. 140 0070 DF91 pop r29
  144. 141 0072 CF91 pop r28
  145. 142 0074 0C94 0000 jmp NutNetBufFree
  146. 143 .size NutPapInput, .-NutPapInput
  147. 144 .ident "GCC: (GNU) 5.3.0"
  148. GAS LISTING /tmp/ccymNaft.s page 4
  149. DEFINED SYMBOLS
  150. *ABS*:0000000000000000 papin.c
  151. /tmp/ccymNaft.s:2 *ABS*:000000000000003e __SP_H__
  152. /tmp/ccymNaft.s:3 *ABS*:000000000000003d __SP_L__
  153. /tmp/ccymNaft.s:4 *ABS*:000000000000003f __SREG__
  154. /tmp/ccymNaft.s:5 *ABS*:000000000000003b __RAMPZ__
  155. /tmp/ccymNaft.s:6 *ABS*:0000000000000000 __tmp_reg__
  156. /tmp/ccymNaft.s:7 *ABS*:0000000000000001 __zero_reg__
  157. /tmp/ccymNaft.s:11 .text.PapRxAuthReq:0000000000000000 PapRxAuthReq
  158. /tmp/ccymNaft.s:24 .text.PapRxAuthAck:0000000000000000 PapRxAuthAck
  159. /tmp/ccymNaft.s:46 .text.PapRxAuthNak:0000000000000000 PapRxAuthNak
  160. /tmp/ccymNaft.s:68 .text.NutPapInput:0000000000000000 NutPapInput
  161. UNDEFINED SYMBOLS
  162. NutPapOutput
  163. IpcpLowerUp
  164. IpcpLowerDown
  165. NutNetBufFree