Download Print this page

ZiLOG Z80380 User Manual page 105

Advertisement

Z
ILOG
INC[W] dst
Operation:
if (XM) then begin
dst(31-0)
end
else begin
dst(15-0)
end
The destination operand is incremented by one and the sum is stored in the destination.
Two's complement addition is performed. Note that the length of the operand is controlled
by the Extended/Native mode selection, which is consistent with the manipulation of an
address by the instruction.
Flags:
S:
Unaffected
Z:
Unaffected
H:
Unaffected
V:
Unaffected
N:
Unaffected
C:
Unaffected
Addressing
Mode
Syntax
R:
INC[W] R
RX:
INC[W] RX
Field Encodings: rr: 00 for BC, 01 for DE, 10 for HL, 11 for SP
y: 0 for IX, 1 for IY
DC-8297-03
dst = R, RX
<
dst(31-0) + 1
dst(15-0) + 1
Instruction Format
00rr0011
11y11101 00100011
INCREMENT (WORD)
Execute
Time
Note
2
X
2
X
Z380
U
'
M
SER
S
ANUAL
INC[W]
5-71

Advertisement

loading
Need help?

Need help?

Do you have a question about the Z80380 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel