[A83] Re: jr c?


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

[A83] Re: jr c?




relative jump to lael if carry flag set
carry flag is set if a calculation passes past zero,
like:

ld a,3
cp 5

3-5 = -2, (or 253, in unsigned integers)
so the compare passed past 0, thus the carry flag is set.

(works when going up past 0 too (eg. 255+3...)


> 
> 
> Could someone please tell me what the command "jr c" does?
> Thanks.
> 
> 





References: