Advertisement
AnthonyCagliano

Untitled

Jan 5th, 2022
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. _cleanstack:
  2. ld hl, (sp)
  3. ld bc, sp
  4. or a
  5. sbc hl, bc
  6. ld ix, 0
  7. add ix, hl
  8. lea bc, ix
  9. ld de, sp
  10. ld hl, sp
  11. ld (de), 0
  12. inc de
  13. dec bc
  14. ldir
  15. ex de, hl
  16. ld sp, hl
  17. ret
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement