Sharp MZ-80A Owner's Manual page 191

Hide thumbs Also See for MZ-80A:
Table of Contents

Advertisement

201
Mnemonic
Symbolic
Flags
OP -Code
No.
of
Byte*
No.
of
M
Cycle*
No.
of
T
Stale*
-
"
-
1
(
ommonLs
Operation
c z
p
V
s
N
II
76 543 210
IN
A.(n)
A-(n)
11
on on
2
3
11
n
to
A o
A
7
n
-*
Acc
lo
A*~ AIL
IN
r.(C)
r-(C)
*
t
0
0
11 101 101
2
3
12
C
to
Au
-
A:
If
r
110
only
the flags
wj||
be
affected
<E
01
r
000
B
to AH
-
Au
INI
(HL)
—(C)
X
X
1
x
11 101 101
2
4
16
C
to A«i
AT
B— B-l
HL— HL+1
10 100 010
B
to
A
A
l
i
INIR
(HL) —(C)
1
X
X
1
X
11 101 101
2
5
21
C
to
Au
-
A:
B— B-l
10 110 010
If
B*s
B
to
A*
AIL
HL-HL+1
2
4
16
Repeat until
B
-
0
<D
UBS
IND
(HL)— (C)
\
X
X
1
X
11 101 101
2
4
16
C
to Ac- A'
B-B-l
HL- IIL-
1
10 101 010
B
to An'Ali
INDR
(HL)— (C)
1
X
X
1
X
11 101 101
2
5
21
C to
A®-AT
B— B-l
10 111 010
UB-ft
B
to As
Ai5
HL— HL-
1
2
4
16
Repeat
until
B
0
BBS
OUT
(n).
A
(n)
A
11 010 Oil
2
3
11
n to A
o
A
T
Acc to A*
AIL
OUT
(C).
r
(C)
r
11 101 101
2
3
12
C
to AO-AT
01
r 001
B
to
AiÿAis
®
OLTI
(C)
—(HR
i
X
X
1
X
11 101
101
2
4
16
C
to
A
o
-
A
:
B-B-l
HL— HL-*- 1
10 100
on
B
to A*
-
AIL
OTIR
(C)
(HL)
1
X
X
1
X
11 101 101
2
5
21
C
to As-
At
B-
B-l
10
no on
U B
• S
B
to AH' AIL
HL- HL
*
1
*>
4
16
Repeat
until
B
0
$
UK
0
OLTD
(C)
(
HL)
t
X
X
1
X
11 101 101
2
4
16
C
to
A*
-
A?
B-B-l
HL— HL-
1
10 101
on
B
to
AH
-
AIL
OTDR
(C)—
(HL)
1
X
X
1
X
11
101 101
2
5
21
C
lo
AT
B-B
1
10
111
on
If B*
B
to As
-
AIL
HL— HL
1
2
4
16
Repeat until
B
0
UBS
Notes: ?
If the
result of
B-l
is
zero
the Z
flag is
set,
otherwise it is
reset.
Rag Notation:
=
flag
not affected,
0
=
flag
reset,
1
-
flag
set,
X
=
flag
is
unknown,
l
=
flag is
affected according
to the
result
of
the
operation.
INPUT
AND
OUTPUT GROUP
TABLE 3.3-11

Advertisement

Table of Contents
loading

Table of Contents