Motorola CPU32 Reference Manual page 68

Hide thumbs Also See for CPU32:
Table of Contents

Advertisement

ADDI
Operation:
Assembler
Syntax:
Attributes:
Description:
result in the destination location. The size of the immediate data must match the
operation size.
Condition Codes:
X
N
Z
*
*
*
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:
15
14
13
0
0
0
WORD DATA (16 BITS)
Instruction Fields:
Size field — Specifies the size of the operation:
00 — Byte operation
01 — Word operation
10 — Long operation
MOTOROLA
4-20
Add Immediate
Immediate Data + Destination → Destination
ADDI #〈data〉, 〈ea〉
Size = (Byte, Word, Long)
Adds the immediate data to the destination operand, and stores the
V
C
*
*
12
11
10
9
0
0
1
1
LONG DATA (32 BITS)
INSTRUCTION SET
8
7
6
5
0
SIZE
BYTE DATA (8 BITS)
ADDI
4
3
2
1
EFFECTIVE ADDRESS
MODE
REGISTER
REFERENCE MANUAL
0
CPU32

Advertisement

Table of Contents
loading

Table of Contents