RE: A83: variable question
[Prev][Next][Index][Thread]
RE: A83: variable question
Well... the idea was nice, but it would be much nicer if HL would actualy be
increased ;)
here's my version:
.nolist
#include "ti83asm.inc"
.list
#define B_CALL(xxxx) rst 28h \ .dw xxxx
#define B_JUMP(xxxx) call 50h \ .dw xxxx
#define kenter 05h
.org 9D95h
Start:
ld hl,0
push hl
ST:
B_CALL(_getkey)
cp kenter
jp z,jjj
B_CALL(_clrlcdfull)
pop hl
inc hl
push hl
B_CALL(_disphl)
jr st
jjj:
pop hl ; free the stack
ret
.end
END
References: