I'm trying to learn Z80 assembly - and forgive me if this is extremely obvious - but I'm rather new to assembly as a whole.
I have familiarised myself with how jumps work after making a comparison with cp
and how they equate to things I know, that NZ
is the equivilant of "!=", C
correlates to "<" and so on. Though from as far as I've been able to see, ">" isn't as easy.
NC
is the opposite of C
, NC
- as I understand - correlates to ">=" in my scenario. My assumption is that I can combine NC
and NZ
in the same jump condition to remove the "=" so to speak, but it doesn't seem to work.
What can I do to make my jump's condition be that a
is more than the compared amount, without allowing them to equal zero?