Re: A85: Complement the Z flag?


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

Re: A85: Complement the Z flag?



Where can I find this 'other' Z-80 list?

-----Original Message-----
From: A.K.A. TheWiz <dankna@bergen.org>
To: assembly-85@lists.ticalc.org <assembly-85@lists.ticalc.org>
Date: Saturday, November 01, 1997 7:16 PM
Subject: 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: