how come cmp = sub nr but cmps <> subs nr?
mpark
Posts: 1,305
Opcode-wise, that is. What does cmps do that subs doesn't?
Comments
CMPS sets C if signed(D<S) whereas SUBS sets C on signed overflow. Sometimes both cases of C are required.