A83: Using the IY register
[Prev][Next][Index][Thread]
A83: Using the IY register
G'day guys/gals,
I just wanted to check something - if you wanted to use the IY register
for something in your program you would have to do the following:
di ; Disable interrupts so IY can be used
push iy ; Preserve IY (pointer to system flags)
{code}
pop iy
ei
The "di" and "ei" are required.. correct? I think so, cos not having them
caused one of bugs in my game I think...
James Vernon
jimbob_v@hotmail.com
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com
Follow-Ups: