SUBQ Instruction


This instruction subtracts a three bit constant from an effective address. The instruction is very quick and much shorter than the usual SUB.

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

DATA LENGTH: Byte, word, longword

When using an address register as destination, byte is not allowed.


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

No flags are affected if the destination operand is an address register.

SYNTAX: SUBQ #<data>,<ea>

#<data> is a constant between 1 and 8.