ZiLOG eZ80 User Manual page 96

Hide thumbs Also See for eZ80:
Table of Contents

Advertisement

ADC HL, SP
ADD with Carry
Operation
HL ← HL+SP+C
Description
The Stack Pointer and the Carry Flag (C in the F register) are added to the contents of the
HL register. The result is stored in the HL register. In ADL mode, or when the .L suffix is
employed, SPL is used for SP. In Z80 mode, or when the .S suffix is employed, SPS is
used for SP.
Condition Bits Affected
S
Z
H
P/V
N
C
Attributes
Mnemonic
ADC
ADC.S
ADC.L
UM007714-0908
Set if result is negative; reset otherwise.
Set if result is 0; reset otherwise.
Set if carry from bit 11; reset otherwise.
Set if overflow; reset otherwise.
Reset.
Set if carry from MSB; reset otherwise.
Operand
ADL Mode
HL,SP
X
HL,SP
1
HL,SP
0
Cycle
Opcode (hex)
2
ED, 7A
3
52, ED, 7A
3
49, ED, 7A
®
eZ80
CPU
User Manual
87
CPU Instruction Set

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the eZ80 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Table of Contents