247
CHAPTER 11 INSTRUCTION SET
In-
Mne-
Number Machine Address-
struc-
monic Operand
of
cycle Operation
ing
Skip condition
tion
bytes area
AND A,#n4 2 2 A <– A n4
A,@HL 1 1 A <– A (HL) *1
XA,rp’ 2 2 XA <– XA rp’
rp’1,XA 2 2 rp’1 <– rp’1 XA
OR A,#n4 2 2 A <– A n4
A,@HL 1 1 A <– A (HL) *1
XA,rp’ 2 2 XA <– X A rp’
rp’1,XA 2 2 rp’1 <- rp’1 XA
XOR A,#n4 2 2 A <– A n4
A,@HL 1 1 A <– A (HL) *1
XA,rp’ 2 2 XA <– XA rp’
rp’1,XA 2 2 rp’1 <– rp’1 XA
RORC A 1 1 CY <– A
0
, A
3
<– CY, A
n-1
<– A
n
NOT A 2 2 A <– A
INCS reg 1 1+S reg <– reg+1 reg=0
rp1 1 1+S rp1 <– rp1+1 rp1=00H
@HL 2 2+S (HL) <– (HL)+1 *1 (HL)=0
mem 2 2+S (mem) <– (mem)+1 *3 (mem)=0
DECS reg 1 1+S reg <– reg–1 reg=FH
rp’ 2 2+S rp’ <– rp’–1 rp’=FFH
SKE reg,#n4 2 2+S Skip if reg=n4 reg=n4
@HL,#n4 2 2+S Skip if (HL)=n4 *1 (HL)=n4
A,@HL 1 1+S Skip if A=(HL) *1 A=(HL)
XA,@HL 2 2+S Skip if XA=(HL) *1 XA=(HL)
A,reg 2 2+S Skip if A=reg A=reg
XA,rp’ 2 2+S Skip if XA=rp’ XA=rp’
SET1 CY 1 1 CY <– 1
CLR1 CY 1 1 CY <– 0
SKT CY 1 1+S Skip if CY=1 CY=1
NOT1 CY 1 1 CY <– CY
Comparison Increment/decrement
Accumulator
manipulation
Arithmetic/logical
Carry flag
manipulation