Advertisement
CVSoft

TI-82 Hello World New Syntax

Dec 13th, 2015
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include "ti82.inc"
  2.  
  3. .org Start_Addr
  4. .db "TI-82 Inc Test"
  5.  
  6. Main:
  7.   call _ClrLCDFull
  8.   call _HomeUp ;a new call that is easy to test, yay
  9.   ld hl,$0000
  10.   ld (curRow),hl
  11.   ld hl,Text
  12.   call _PutS
  13. Wait:
  14.   call _GetKey
  15.   cp $05 ;kEnter
  16.   jr nz,Wait
  17.   ret
  18.  
  19. Text:
  20.   .db "Hello World!",0
  21.  
  22. .end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement