
18
Rabbit 2000/3000 Microprocessor
Description
The data in index register IX is summed with the word register xx (any of the word registers BC, DE, IX, or
SP) and the result is stored in IX.
The data in index register IY is summed with the word register yy (any of the word registers BC, DE, IY, or
SP). The result is stored in IY.
Description
The data in the Stack Pointer register is summed with the 7-bit signed displacement d, and then stored in SP.
This instruction is implemented for the Rabbit and is not available for the Z180.
ADD IX,xx
ADD IY,yy
Opcode
Instruction
Clocks
Operation
——
DD 09
DD 19
DD 29
DD 39
ADD IX,xx
ADD IX,BC
ADD IX,DE
ADD IX,IX
ADD IX,SP
4 (2,2)
4 (2,2)
4 (2,2)
4 (2,2)
4 (2,2)
IX = IX + xx
IX = IX + BC
IX = IX + DE
IX = IX + IX
IX = IX + SP
——
FD 09
FD 19
FD 29
FD 39
ADD IY,yy
ADD IY,BC
ADD IY,DE
ADD IY,IY
ADD IY,SP
4 (2,2)
4 (2,2)
4 (2,2)
4 (2,2)
4 (2,2)
IY = IY + yy
IY = IY + BC
IY = IY + DE
IY = IY + IY
IY = IY + SP
Flags
ALTD
I/O
S
Z
L/V
C
F
R
SP
S
D
-
-
-
•
•
ADD SP,d
Opcode
Instruction
Clocks
Operation
27 d
ADD SP,d
4 (2,2)
SP = SP + d
Flags
ALTD
I/O
S
Z
C
F
R
SP
S
D
-
-
-
•
•
Summary of Contents for 2000
Page 2: ...ii Rabbit 2000 3000 Microprocessor...
Page 4: ...iv Rabbit 2000 Microprocessor...
Page 16: ...12 Rabbit 2000 3000 Microprocessor...
Page 112: ...108 Rabbit 2000 3000 Microprocessor...
Page 120: ...ii Rabbit 2000 3000 Microprocessor...