Re: LZ: AF', BC', DE', HL' and exx


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

Re: LZ: AF', BC', DE', HL' and exx



On Sun, 21 Jul 1996, D Melton wrote:


> What are AF', BC'... and why would I want to use them?
> 
> Also, when would you use the exx command?


They're  an extra set of registers.  AF', BC', DE' and HL'.
You can use them any way you want to.  EXX swaps them for
the current registers.  The current ones are AF,BC, etc
and the swapped out ones are always AF', BC', etc even
after swapping.  You might use them for a subroutine, for
example, to avoid pushing them.


Barry


References: