245
CHAPTER 11 INSTRUCTION SET
In Mne-
Number Machine
Address-
struc- monic Operation of cycle Operation ing Skip condition
tion bytes area
MOV A,#n4 1 1 A <– n4 String-effect A
reg1,#n4 2 2 reg1 <– n4
XA,#n8 2 2 XA <– n8 String-effect A
HL,#n8 2 2 HL <– n8 String-effect B
rp2,#n8 2 2 rp2 <– n8
A,@HL 1 1 A <– (HL) *1
A,@HL+ 1 2+S A <– (HL), then L <– L+1 *1 L=0
A,@HL– 1 2+S A <– (HL), then L <– L–1 *1 L=FH
A,@rpa1 1 1 A <– (rpa1) *2
XA,@HL 2 2 XA <– (HL) *1
@HL,A 1 1 (HL) <– A *1
@HL,XA 2 2 (HL) <– XA *1
A,mem 2 2 A <– (mem) *3
XA,mem 2 2 XA <– (mem) *3
mem,A 2 2 (mem) <– A *3
mem,XA 2 2 (mem) <– XA *3
A,reg 2 2 A <– reg
XA,rp’ 2 2 XA <– rp’
reg1,A 2 2 reg1 <– A
rp’1,XA 2 2 rp’1 <– XA
XCH A,@HL 1 1 A <–> (HL) *1
A,@HL+ 1 2+S A <–> (HL), then L <- L+1 *1 L=0
A,@HL– 1 2+S A <–> (HL), then L <- L–1 *1 L=FH
A,@rpa1 1 1 A <–> (rpa1) *2
XA,@HL 2 2 XA <–> (HL) *1
A,mem 2 2 A <–> (mem) *3
XA,mem 2 2 XA <–> (mem) *3
A,reg1 1 1 A <–> reg1
XA,rp’ 2 2 XA <–> rp’
Transfer