Advertisement
Guest User

Untitled

a guest
Feb 9th, 2016
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. converttoString:
  2. pshy
  3. pshd
  4. pshx
  5. TFR D,X
  6. LDAB #0x03
  7. LDAA #0x30
  8. clearSpaces:
  9. STAA 1,y+
  10. DBNE b,clearSpaces
  11. LDS #3
  12. DEY
  13. nextDigit:
  14. TFR X,D
  15. LDX #$a
  16. idiv
  17. addb #$30
  18. STAB 1,Y-
  19. dbne SP,nextDigit
  20. converttoStringDone:
  21. xgdy
  22. PULX
  23. PULD
  24. PULY
  25.  
  26. END
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement