# SUBA Instruction

Binary subtraction from an address register. To make it possible to mix address operations with data operations, this instruction will not affect any flags.

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

The effective address must be the source.
DATA LENGTH: Word, longword
SUBA affects always all 32 bits in the destination address register.
FLAGS: Unaffected
SYNTAX: SUBA <ea>,An

EXAMPLE CODE:

SUBA A1,A2 subtracts A1 from A2