reset.lst 2.3 KB

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