sub
Sizes
byte, word, long
Default Size
word
Affected Flags
X
N
Z
V
C
✱
✱
✱
✱
✱
Operands
Op 1
Dn/An/(An)/Im/ea/(An, Xn)
Op 2
Dn/(An)/An/ea/(An, Xn)
Subtracts the value of the first operand from second operand and stores in the second. If the second operand is an address register, the SUBA instruction is used instead.