I am trying to make a program that starts at 0 and counts to 100. Can anyone tell me incorrect syntax (Please don't give the answer or optimazations yet)
Code:
Code:
#include "ti83plus.inc"
.org $9D95
.db $BB,$6D
Start:
LD A, 0
bcall _ClrScrnFull
Loop:
LD H, 0
LD L, (Memory)
bcall _DispHL
LD A, L
INC A
LD (Memory), A
LD A, L
CP 100
JR Z, End
JR Loop
End:
ret
Memory:
.DB 0