Skip to content

Latest commit

 

History

History
27 lines (20 loc) · 859 Bytes

File metadata and controls

27 lines (20 loc) · 859 Bytes

ADDI - Add immediate

Operation

[destination] ← <literal> + [destination]

Syntax

ADDI #<data>,<ea>

Attributes

Size byte, word, longword

Description

Add immediate data to the destination operand. Store the result in the destination operand. ADDI can be used to add a literal directly to a memory location. For example, ADDI.W #$1234,$2000 has the effect [M(200016)]←[M(200016)]+123416.

Condition codes

X N Z V C
* * * * *

Destination 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.