[A83] Stack Problems
[Prev][Next][Index][Thread]
[A83] Stack Problems
Can anyone tell me what's wrong in this label? I'm very sure it's with the
stack (I am trying to make a test program that when you press up or down an
arrow moves up and down):
down:
push a
ld a,l
cp 12
jp z,getcsc
pop a
ld ix,spriteblank
sub 7
ld ix,sprite
a=X coordinate
l=Y coordinate
I also want to know how to set the Xmin, Xmax, Ymin, and Ymax from an Ion
program, unless it's already this:
0-Xmin
0-Ymin
94-Xmax
62-Ymax
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com
Follow-Ups: