This the multi-page printable view of this section.Click here to print.

Return to the regular view of this page.

ADD ss to HL without carry

Addition without carry

Table of Contents

76543210
 
\(HL \longleftarrow HL + dd\)
ADD HL, dd
00dd1001
 
\(IX \longleftarrow IX + pp\)
ADD IX, pp
11011101DD
00pp1001
 
\(IY \longleftarrow IY + mm\)
ADD IY, mm
11111101FD
00mm1001
Registers
Valueddmmpp
00BCBCBC
01DEDEDE
10HLIYIX
11SPSPSP
Flags Affected
Flags
sz-h---c
sset if result negative
zset if result is 0
hset if carry from bit 11
cset if carry from bit 15
Opcode Matrix
BCDEHLSPIXIY
HL
ADD HL,BC
09111
ADD HL,DE
19111
ADD HL,HL
29111
ADD HL,SP
39111


IX
ADD IX,BC
DD09215
ADD IX,DE
DD19215

ADD IX,SP
DD39215
ADD IX,IX
DD29215

IY
ADD IY,BC
FD09215
ADD IY,DE
FD19215

ADD IY,SP
FD39215

ADD IY,IY
FD29215
Opcode Matrix Legend
Instruction Opcode hexSize bytesCycle count
 Register