/opcodes/inc

Arithmetic // INC (INCrement)

Description

Register r is incremented and register r identifies any of the registers A, B, C, D, E, H, or L, assembled as follows in the object code. Register r A 111 B 000 C 001 D 010 E 011 H 100 L 101

Example

If the D Register contains 28h, then upon the execution of an INC D instruction, the D Register contains 29h.

Opcodes