Exchange, Block Transfer And Search Group - Sharp mz-800 Technical Reference And User's Manual

Hide thumbs Also See for mz-800:
Table of Contents

Advertisement

- - - Exchange, Block Transfer and Search Group---
flags
opcode
mnemonic
operation
bytes
c
z
P!V
s
N
H
76 543 210
EX DE,HL
DE-HL
• • • • • •
11 101 011
1
EX AF,AF'
AF-AF'
• • • • • •
00 001 000
1
EXX
("c) ("c)
• • • • • •
11 011 001
1
DE ...... DE'
HL
HL'
EX (SP),HL
H++(SP+l) ·
• • • • • •
11 100 011
1
L++(SP)
EX (SP),IX
IXH++(SP+l)
• • • • • •
11 011 101
2
IXL ++(SP)
11 100 011
EX (SP),IY
IYH++(SP+l)
• • • • • •
11 111 101
2
IYL ++(SP)
11 100 011
CD
LDI
(DE)+-(HL)
• •
t
0
0
11 101 101
2
DE+-DE+1
10 100 000
HL+-HL+1
BC+-BC-1
LDIR
(DE)+-(HL)
• •
0
0
0
11 101 101
2
DE+-DE+1
10 110 000
2
HL+-HL+1
BC+-BC-1
repeats to
BC=O
CD
LDD
(DE)+-(HL)
• •
t
0
0
11 101 101
2
DE+-DE-1
10 101 000
HL+-HL-1
BC--BC-1
LDDR
(DE)+-(HL)
• •
0
0
0
11 101 101
2
DE+-DE-1
10 111 000
2
HL+-HL-1
BC +-BC-1
repeats to
BC=O
®
CD
CPI
A-(HL)
t
t
t
1
t
11 101 101
2
HL<-HL+1
10 100 001
BC--BC-1
Notes:CD indicates that the P/V flag is set to 0 for BC-1=0 and other cases to 1.
®
indicates that the Z flag is set to 1 for A= (HL) and other cases to 0.
144
No.
No.
of M ofT
comments
cycles cycles
1
4
1
4
1
4
Each value in register
pairs is exchanged with
the value in aux. register
pairs.
5
19
6
23
6
23
4
16
5
21
for BCI=O
4
16
for BC=O
4
16
5
21
for
BCo~=O
4
16
for BC=O
4
16

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents