Advertisement
Guest User

hello.z80

a guest
Sep 14th, 2018
86
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. ; ^Tells where in memory the program is
  7.     .db    t2ByteTok, tAsmCmp
  8. ; ^Specifies some data
  9.     b_call(_ClrLCDFull)
  10. ; ^Calls to a rom prgm in the calculator
  11. ; ^^ This one clears the screen
  12.     ld    hl, 0
  13.     ld    (PenCol), hl
  14.     ld    hl, msg
  15.     b_call(_PutS)            ; Display the text
  16.     b_call(_NewLine)
  17.     ret
  18.  
  19. msg:
  20.     .db "Hello world!", 0
  21. .end
  22. .end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement