Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include "TI82.H"
- #include "KEYS.INC"
- .ORG START_ADDR
- .DB "BENCHMARK",0
- LD B,2 ; two loops
- LD C,$00 ; initialize counter
- MainLoop:
- LD A,C ; load character counter
- LD E,B ; put mainloop counter in E
- LD B,127 ; load character counter
- ROM_CALL(CLEAR_DISP) ;
- Blah:
- ROM_CALL(TX_CHARPUT)
- INC A ;
- DJNZ Blah
- LD B,E ; reload mainloop counter
- LD C,A ; update character counter
- ROM_CALL(KEY_HAND)
- DJNZ MainLoop
- RET
- .END
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement