Re: A85: Complement the Z flag?
[Prev][Next][Index][Thread]
Re: A85: Complement the Z flag?
> 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.
___Dan_Knapp____The_Mauve_Baron______________________Beep Blip Bonk_______
<dankna@bergen.org><dankna@brain.mics.net> http://users.bergen.org/~dankna
Visit ftp://ftp.gmd.de/if-archive/ and find out about text adventures!
Schooling is not to impart knowledge, but to impart ability.
Follow-Ups:
References: