Re: LZ: > and < and C and NC
[Prev][Next][Index][Thread]
Re: LZ: > and < and C and NC
Basically, the cp instruction has this output...
say we do a
CP B
cases:
A>B Carry and Zero flags are reset
A=B Zero flag is set and Carry flag is reset
A<B Carry flag is set and Zero flag is reset
hope this helps.
--Steve (starting to learn Z80 assembler, at least i got a book on it... If
anyone needs help on any of the operands, just mail me and i can summerize what
is in the book)
s_wrobleski@foma.wsc.mass.edu
References: