Advertisement
AnthonyCagliano

Untitled

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