/
16-Bit Arithmetic Group
16-Bit Arithmetic Group
__________________________________________________________________________________________________________________________
Mnemonic Symbolic Flags (bit 7-0) Instruction Number Number of Number of Comments
operation S Z . H . V N C opcode of bytes M cycles T states
__________________________________________________________________________________________________________________________
ADD HL,ss HL <- HL+ss * * X X X * 0 ? 00 ss1 001 1 3 11 ss:
00 BC
ADC HL,ss HL <- HL+ss+CY ? ? X X X V 0 ? 11 101 101 (EDh) 2 4 15 01 DE
01 ss1 010 10 HL
11 SP
SBC HL,ss HL <- HL-ss-CY ? ? X X X V 1 ? 11 101 101 (EDh) 2 4 15
01 ss0 010
ADD IX,pp IX <- IX+pp * * X X X * 0 ? 11 011 101 (DDh) 2 4 15 pp:
00 pp1 001 00 BC
01 DE
ADD IY,qq IY <- IY+qq * * X X X * 0 ? 11 111 101 (FDh) 2 4 15 10 IX
00 qq1 001 11 SP
qq:
INC ss ss <- ss+1 * * X * X * * * 00 ss0 011 1 1 6 00 BC
01 DE
INC IX IX <- IX+1 * * X * X * * * 11 011 101 (DDh) 2 2 10 10 IY
00 100 011 (23h) 11 SP
INC IY IY <- IY+1 * * X * X * * * 11 111 101 (FDh) 2 2 10
00 100 011 (23h)
DEC ss ss <- ss-1 * * X * X * * * 00 ss1 011 1 1 6
DEC IX IX <- IX-1 * * X * X * * * 11 011 101 (DDh) 2 2 10
00 101 011 (2Bh)
DEC IY IY <- IY-1 * * X * X * * * 11 111 101 (FDh) 2 2 10
00 101 011 (2Bh)