SUBI Instruction


Subtracts a constant from an effective address.

ADDRESS METHODS: Dn, (An), (An)+, -(An), x(An), x(An,xr.s), x.w, x.l

DATA LENGTH: Byte, word, longword


FLAGS: X - Set if a loan was required from the most significant bit, otherwise 0.
N - S
Z - S
C - Same as X
V - S

SYNTAX: SUBI #x,<ea>

Most assemblers automatically choose SUBI if the source operand to an SUB instruction is a constant.