Sharp MZ-80B Owner's Manual page 110

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

Advertisement

Mnemo nic
IN
A,(
n)
IN r,(C)
INI
INIR
IND
INDR
OUT
(n),A
OUT
(C)
,
r
OUT!
OTIR
OUTD
OTDR
Symbolic
Flags
OP-Code
No.
No.
No.
of
ofM
ofT
Commen.ts
Operation
c
z
P/V
s
N
H
76
543 210
Bytes
Cycles
States
A-(n)
• • • • • •
11 011
011
2
3
10
n
to
Ao
-
A1
-
n
.....
Ace
to
A
~-
A1
:,
r
-
(C)
t
p
t
0
0
11
101
101
2
3
11
C to Au
-
A;
If
r
=
110
on
ly
01
r 000
B to A,
·-
A1r.
th
e
fl
ags
will
be
affec
t
ed
CD
(HL)
-
(C)
t
X
X
I
X
11 I01 IOI
2
4
I5
C
to Au
-
A;
B
-
B
-
1
IO IOO OIO
B
to
As-
AI:,
HL-
HL
+
I
(HL)-(C)
1
X
X
1
X
11
IOI
I01
2
5
20
C to
Ao
-
A7
B
-
B-
I
10 110 OIO
!If
B>
O
i
B to
As-
AI;
HL-
HL
+
I
2
4
15
Repeat
until B
=
O
CD
ill
Jl
:
O
I
(HL)
-
(C)
t
X
X
1
X
11 IOI 10I
2
4
I5
C
to
Au-A'
B-
B
--
I
IO IOI OIO
B
to
Ax-A I;
HL-
HL
-
I
(HL)
-
(C)
1
X
X
1
X
11 I01 10I
2
5
20
C
to Au
-
A;
B- B-
1
10 11I 010
llf
B
~
O
I
B
to
As-
Ala
HL- HL-
I
2
4
15
Repeat
until
B=O
tlf B:O
t
(n)
-A
• • • • •
11 010 011
2
3
11
n to Au
-
A;
Ace
to
As-
AI
:.
(C)
-
r
• •
• • •
11
101
I01
2
3
I2
C
to
Au
- A;
OI
r
OOI
B
to
A
~-A
ir.
CD
(C)
-
(HL)
t
X
X
1
X
11
10I
I01
2
4
15
C
to Au
-
A;
B-
B
-
1
10
100
011
B
to
As
-
Air.
HL-HL
+
1
(C)
-
(HL)
1
X
X
1
X
11
101
10I
2
5
20
C
to
Au
-
A;
B-
B
-
I
IO 110 011
tlf
B•
O
t
B
to
As-
Ai
r.
HL-
HL
+
I
2
4
15
Repeat until B
=
O
•lfB
:
O
!
CD
(C
)
~
(HL)
t
X
X
I
X
11
101
101
2
4
15
C
to
Au
-
A7
B-
B-1
10 I01
011
B
to
A
s-
Air.
HL-
HL
-
1
(C)
-
(HL)
1
X
X
I
X
11
101
I01
2
5
20
C
to Au
-
A;
B-
B-1
10
111 011
•If
B•
O
I
B
to
Ax-
Air.
HL-
HL
-
I
2
4
I5
Repea
t until B=O
·If 1!
:
01
Notes:
G)
If the
result of
B-1 is zero
the
Z flag is set,
otherwise
it
is reset.
Flag Notation:
=
flag
not
affected,
0
=
flag reset,
1
=
flag
set, X
=
flag is unknown,
t
=
flag
is
affected according to
the result
of the
operation.
INPUT AND OUTPUT GROUP
TABLE 4 .3-11
101

Advertisement

Table of Contents
loading

Table of Contents