[A83] Re: jp c, vs. jp m,?


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

[A83] Re: jp c, vs. jp m,?




They do different things.  For example, 1 - 255 will equal 2, which will
produce a carry, but will not be negative.  If you're using signed numbers,
use m.  If using unsigned, use c.

> For what reasons would you use jp (or jr) c,...   over jp m,... ?  What is
> the difference.  I know that when an answer goes below zero, the carry
flag
> is set, but it seems like they do the same thing.






References: