INC 16-bit Increment

Increment 16-bit register pair by 1
76543210
 
\(dd \longleftarrow dd + 1\)
INC qq
00dd0011
 
\(IX \longleftarrow IX + 1\)
INC IX
11011101DD
0010001123
 
\(IY \longleftarrow IY + 1\)
INC IY
11111101FD
0010001123
Registers
Valuedd
00BC
01DE
10HL
11SP
Flags Affected
None.
Opcode Matrix
BCDEHLSPIXIY
Op
INC BC
0316
INC DE
1316
INC HL
2316
INC SP
3316
INC IX
DD23210
INC IY
FD23210
Opcode Matrix Legend
Instruction Opcode hexSize bytesCycle count
 Register

Last modified November 16, 2021: Add flags to math operations (63d34c2)