Re: A82: saving hl


[Prev][Next][Index][Thread]

Re: A82: saving hl




Yup.

Or save it IN your program.
ld (save),hl

save:
 .db $00, $00

~Ilya
Andrew Weiler wrote:
> 
> In my program, I want to save the memory address hl points to and call
> it back later.  I can't use hl because in the middle of the push/pop I
> have to call a routine then return.  If I store it to a place in
> text_mem then load it back into hl later, will it still point to the
> address?



References: