Re: LZ: Help with a routine


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

Re: LZ: Help with a routine



On Fri, 20 Sep 1996, Ed Plese, Jr. wrote:


> > > Actually, I think that if the bit is set, it will set the ZERO 
> > > flag, but if it is cleared, then it will clear the Z flag (indicating 
> > > nz).
> > 
> > No, the zero flag indicates that something is zero. Therefore if the 
> > bit's cleared (meaning it's zero) the Zero flag will be set!
> 
> I'm telling you, it's the other way around!!!!!
> 
It sets Z only if the bit tested is 0.  Really.


                     /***********************************
                     *           Daniel Knapp           *
                     *       FeatherWate Software       *
                     *     email: dankna@bergen.org     *
                     *                                  *
                     *      Whose account this is,      *
                     *         I think I know.          *
                     * The sysop is in Berkely, though. *
                     * She will not see me typing here, *
                     *        To watch this Mac         *
                     *          Refuse to go.           *
                     ***********************************/


References: