
Z80 Instruction Set UM008007-0715
166
Z80 CPU
User Manual
INC (IX+d)
Operation
(IX+d) ← (IX+d) + 1
Op Code
INC
Operands
(IX+d)
Description
The contents of Index Register IX (register pair IX) are added to the two’s-complement
displacement integer, d, to point to an address in memory. The contents of this address are
then incremented.
Condition Bits Affected
S is set if result is negative; otherwise, it is reset.
Z is set if result is 0; otherwise, it is reset.
H is set if carry from bit 3; otherwise, it is reset.
P/V is set if (IX+d) was
7Fh before operation; otherwise, it is reset.
N is reset.
C is not affected.
Example
If Index Register pair IX contains 2020h and memory location 2030h contains byte 34h,
then upon the execution of an INC (IX+
10h) instruction, memory location 2030h con-
tains
35h.
M Cycles T States 4 MHz E.T.
6 23 (4, 4, 3, 5, 4, 3) 5.75
11 1 01101
DD
00 1 00110
34
d
Komentarze do niniejszej Instrukcji