Skip to content

Latest commit

 

History

History
27 lines (20 loc) · 760 Bytes

File metadata and controls

27 lines (20 loc) · 760 Bytes

SUBA - Subtract address

Operation

[destination] ← [destination] - [source]

Syntax

SUBA <ea>,An

Attributes

Size word, longword

Description

Subtract the source operand from the destination operand and store the result in the destination address register. Word operations are sign-extended to 32 bits prior to subtraction.

Condition codes

X N Z V C
- - - - -

Source operand addressing modes

Dn An (An) (An)+ ‑(An) (d,An) (d,An,Xi) ABS.W ABS.L (d,PC) (d,PC,Xn) imm

From MOTOROLA M68000 FAMILY Programmer's reference manual. Copyright 1992 by Motorola Inc./NXP. Adapted with permission.