Re: A85: Complement the Z flag?


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

Re: A85: Complement the Z flag?



A.K.A. TheWiz wrote:
> 
> > Does anyone know of a good way to complement the zero flag?
> 
>   I asked this on another Z80 list a while ago.  The simplest way is:
> PUSH AF
> POP HL
> XOR L, $40
> PUSH HL
> POP AF
> 
>   ... yes, really.

... not, really. Considering that XOR L,$40 is not a legal z80
instruction... 
-- 
Terry Peng <tpeng@geocities.com>


Follow-Ups: References: