cleanup.s 144 B

123456789101112
  1. .define __cleanup
  2. .extern __cleanup
  3. .sect .text
  4. .sect .rom
  5. .sect .data
  6. .sect .bss
  7. .sect .text
  8. __cleanup:
  9. tst.b (-40,sp)
  10. link a6,#-0
  11. unlk a6
  12. rts