ADDI

ADDI

Operation:
Immediate Data + Destination -->; Destination

Compatibility: 68000 Family

Assembler Syntax:
ADDI #<data>, <ea>

Attributes: Size = (Byte, Word, Long)

Description: Adds the immediate data to the destination operand,
and stores the result in the destination location. The size of
the operation may be specified as byte, word, or long.
The size of the immediate data matches the operation size.

Condition Codes:
\c22222
X Set the same as the carry bit.
N Set if the result is negative. Cleared otherwise.
Z Set if the result is zero. Cleared otherwise.
V Set if an overflow is generated. Cleared otherwise.
C Set if a carry is generated. Cleared otherwise.

Instruction Format:
\i3-----++-2Size,u6Effective Address,3Mode,3Reg,8Word Data (16 bits),8Byte Data (8 bits),0Long Data (32 bits),

Instruction Fields:
Size field -- Specifies the size of the operation:
00 -- Byte operation.
01 -- Word operation.
10 -- Long operation.
Effective Address field -- Specifies the destination operand. Only
data alterable addressing modes are allowed as shown:
\mBF8

Immediate field -- (data immediately following the instruction):
If size = 00, the data is the low-order byte of the
immediate word.
If size = 01, the data is the entire immediate word.
If size = 10, the data is the next two immediate words.

Related Instructions:
,ADD401
,ADDA402
,ADDQ404
,ADDX405
.402404