Advertisement
Guest User

hello.z80

a guest
Sep 14th, 2018
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include "ti83plus.inc"
  2. ; ^Includes a file. In this case the ti-83+ header file
  3. #define    ProgStart    $9D95
  4. ; ^Replaces all ProgStarts in the code wirh $9D95
  5. .org    ProgStart - 2
  6.     .db    t2ByteTok, tAsmCmp
  7.     b_call(_ClrLCDFull)
  8.     ld    hl, 0
  9.     ld    (PenCol), hl
  10.     ld    hl, msg
  11.     b_call(_PutS)            ; Display the text
  12.     b_call(_NewLine)
  13.     ret
  14.  
  15. msg:
  16.     .db "Hello world!", 0
  17. .end
  18. .end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement