SHARE
TWEET

Untitled

a guest Aug 12th, 2017 49 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. LCD_OutString
  2.   pshd
  3.     pshy
  4.     psha   
  5.     pshx
  6.     tfr D,X ;pointer is now in RegX
  7. strng ldaa  1,X+    ; puts ASCII character in RegA
  8.     cmpa    #0  ; checks if character is null
  9.     beq done    ;
  10.     jsr LCD_OutChar
  11.     bra strng
  12. done   
  13.   pulx
  14.     pula
  15.     puly
  16.     puld
  17.   rts
RAW Paste Data
Top