Adds one to BC.
inc
Operands
inc rr | inc r | inc (rr) | inc (ii+dd)Loading...
Variants
Every form of inc the assembler accepts. The cycles column counts clock
cycles, written as taken/not taken for the conditional forms.
| Instruction | Description | Flags | Bytes | Cycles |
|---|---|---|---|---|
| inc bc | — | 1 | 6 | |
| inc b | N=0P/V=VHZS | 1 | 4 | |
| inc c | N=0P/V=VHZS | 1 | 4 | |
| inc de | — | 1 | 6 | |
| inc d | N=0P/V=VHZS | 1 | 4 | |
| inc e | N=0P/V=VHZS | 1 | 4 | |
| inc hl | — | 1 | 6 | |
| inc h | N=0P/V=VHZS | 1 | 4 | |
| inc l | N=0P/V=VHZS | 1 | 4 | |
| inc sp | — | 1 | 6 | |
| inc (hl) | N=0P/V=VHZS | 1 | 11 | |
| inc a | N=0P/V=VHZS | 1 | 4 | |
| inc ix | — | 2 | 10 | |
| inc ixh undocumented | N=0P/V=VHZS | 2 | 8 | |
| inc ixl undocumented | N=0P/V=VHZS | 2 | 8 | |
| inc (ix+dd) | N=0P/V=VHZS | 3 | 23 | |
| inc iy | — | 2 | 10 | |
| inc iyh undocumented | N=0P/V=VHZS | 2 | 8 | |
| inc iyl undocumented | N=0P/V=VHZS | 2 | 8 | |
| inc (iy+dd) | N=0P/V=VHZS | 3 | 23 |