EasyManua.ls Logo

ZiLOG eZ80

Default Icon
411 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
eZ80
®
CPU
User Manual
UM007714-0908 CPU Instruction Set
96
ADD HL, SP
ADD without Carry
Operation
HL HL+SP
Description
The CPU adds the contents of the multibyte Stack Pointer (
SP
) register to the contents of
the HL register, and stores the results in the HL register. In ADL mode, or when the
.L
suf-
fix 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
Attributes
S Not affected.
Z Not affected.
H Set if carry from bit 11; reset otherwise.
P/V Not affected.
N Reset.
C Set if carry from MSB; reset otherwise.
Mnemonic Operand ADL Mode Cycle Opcode (hex)
ADD HL,SP X139
ADD.S HL,SP 1252, 39
ADD.L HL,SP 0249, 39

Related product manuals