ss <- ss + 1
INC
ss
b7 | b6 | b5 | b4 | b3 | b2 | b1 | b0 |
---|---|---|---|---|---|---|---|
0 | 0 | ss | 0 | 0 | 1 | 1 |
The contents of register pair ss (any of register pairs BC, DE, HL, or SP) are incremented. In the assembled object code, operand ss is specified as follows:
Register Pair | r | Hex |
---|---|---|
BC | 00 | $03 |
DE | 01 | $13 |
HL | 10 | $23 |
SP | 11 | $33 |
None
If the register pair contains $1000, then upon the execution of
INC HL
the HL register pair contains $1001.