Re: LZ: Help with a routine
[Prev][Next][Index][Thread]
> No, because if the zf is set, it indicates a zero result.
> If a bit is set, it is not zero, so the zf is cleared... Wait a
> minute. Why argue? Does anyone have a Z80 book that could check
> this out?
Yes, I have about 3 different references to what the instructions do,
and the most convinient one said that when the bit instruction is
run, if the bit is a 1, then the ZF is clearedt, but if the bit is 0, then
the ZF is set. This is what the book says, and this is what I have
always gone by and it does work.
-Ed
References: