Instruction Reference Manual
15
Description
The data in the register pair HL is summed with the Carry Flag and with the data in word register ss (any of
the word registers BC, DE, HL, or SP). The result is stored in HL.
Description
The data in the Accumulator is summed with the data in the memory location whose address is:
•
held in word register HL, or
•
the sum of the data in index register IX and a displacement value d, or
•
the sum of the data in index register IY and a displacement value d.
The result is stored in the Accumulator.
ADC HL,ss
Opcode
Instruction
Clocks
Operation
——
ADC HL,ss
4 (2,2)
HL = HL + ss + CF
ED 4A
ADC HL,BC
4 (2,2)
HL = HL + BC + CF
ED 5A
ADC HL,DE
4 (2,2)
HL = HL + DE + CF
ED 6A
ADC HL,HL
4 (2,2)
HL = HL + HL + CF
ED 7A
ADC HL,SP
4 (2,2)
HL = HL + SP + CF
Flags
ALTD
I/O
S
Z
L/V
C
F
R
SP
S
D
•
•
V
•
•
•
ADD A,(HL)
ADD A,(IX+d)
ADD A,(IY+d)
Opcode
Instruction
Clocks
Operation
86
ADD A,(HL)
5 (2,1,2)
A = A + (HL)
DD 86 d
ADD A,(IX+d)
9 (2,2,2,1,2)
A = A + (IX+d)
FD 86 d
ADD A,(IY+d)
9 (2,2,2,1,2)
A = A + (IY+d)
Flags
ALTD
I/O
S
Z
L/V
C
F
R
SP
S
D
•
•
V
•
•
•
•
Содержание 2000
Страница 2: ...ii Rabbit 2000 3000 Microprocessor...
Страница 4: ...iv Rabbit 2000 Microprocessor...
Страница 16: ...12 Rabbit 2000 3000 Microprocessor...
Страница 112: ...108 Rabbit 2000 3000 Microprocessor...
Страница 120: ...ii Rabbit 2000 3000 Microprocessor...