INC ss

Operation

ss <- ss + 1

Mnemonic

INC

Operands

ss

b7b6b5b4b3b2b1b0
0 0 ss 0011

Description

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
rHex
BC00$03
DE01$13
HL10$23
SP11$33

Condition Bits Affected

None

Example

If the register pair contains $1000, then upon the execution of

	INC	HL

the HL register pair contains $1001.