Sharp MZ-80B Owner's Manual page 109

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

Advertisement

100
Mnemonic
CALL
nn
CALL cc,nn
RET
RET
cc
RETI
RETN
RST p
!'io.
No.
No.
Symbolic
Flags
OP-Code
of
of
M
ofT
Co
mments
Operation
c
z
P/
V
s
N
H
76 543 210
Bytes
Cycles
States
(SP
-
l) ~PCB
• • • •
11 001 101
3
5
17
(SP
-
2) ~PCt
~
n
-
PC<--nn
~
n
-
If
condition cc is false
• • • • • •
11
cc
100
3
3
10
If
cc is
false
continue, otherwise
~
n
-
same
as
CA
LL
nn
~
n
-
3
5
17
If cc
is
true
PCL <--(SP)
• • •
• •
11
001 001
1
3
10
PCH<--(SP
+
l)
If
condition
cc is false
• • • • • •
11
cc
000
1
1
5
If
cc is
false
cont
inu
e, otherwise
1
3
11
If
cc
is
true
same
as
RET
cc
Return from
• •
• •
11 101 101
2
4
14
000
interrupt
01 001 101
001
Return
from
non
• •
• •
11
101
101
2
4
14
010
maskable int errupt
01 000 101
011
100
101
110
111
(SP
-
l) ~PCu
• •
• • •
11
t
111
1
3
11
t
(SP-2)
~PCL
000
PCu<--0
001
PCL~P
010
011
100
101
110
111
Flag Notation:
=
flag not
affected,
0
=
flag
reset,
1
=
flag
set, X=
flag is unknown
~
=
flag is
affected according
to
the result
of the
operation.
CALL AND RETURN GROUP
TABLE 4.3-10
Condition
NZ
non zero
Z zero
NC
non
car ry
C
ca rry
PO parity
odd
PE
parity e.-en
P sign po
sitive
M
sign
negative
p
OOH
08H
10H
18
H
20H
28H
30H
38H

Advertisement

Table of Contents
loading

Table of Contents