Herunterladen Inhalt Inhalt Diese Seite drucken

Sharp PC-1600 Systemhandbuch Seite 305

Packet computer
Vorschau anzeigen Andere Handbücher für PC-1600:
Inhaltsverzeichnis
CALL und RETURN Befehle
(12)
Mnemonic
Operation
code
(SP-l)<--PC
CALL
nn
(SP-
2)<--PCI.
PC<--nn
CALL
cc, nn
U
s true, t heoperation ~the
CI:
same as
(ALL
then
mere
totheneninstruction.
RET
PCL......{SP)
PC
......{SP+l)
H
RET
cc
true, t heoperation
is
[f CI:
RH.
same as
r~.
II
then morr t o
C( ~
oext i nstruction.
RETI
Return
interrupt.
RETN
Return
NMI.
RST
p
(SP-l)~PCH
(SP-2)~PCL
PCH+-O
PCL~P
Flags
C
PIV
S
Z
N
• •
H
• • •
r~.
nn. lf
s
CI:
• • • • •
• • • •
is tbe
ihe
• • • • • •
from the
• • • • • •
from
9-
• • • • • •
Do not sale !
OP code
of 'Io.of
'10.
~Ind11S T states
bytes
H
76 543 210
11 001 101
it
3
~
~
n
~
~
n
• •
11 cc
100
3
~
~
n
~
~
n
3
11 001 001
1
• •
11 cc 000
1
1
2
11 101 101
01 001 101
11 101 101
2
01 000 101
11
111
1
t
295
'Io.of
Remarks
17
5
3
10
When cc is false
5
17
When cc is true
10
3
When cc is false
1
5
When cc is true
3
11
ee
Conditions
4
14
000
NZ non zero
001
Z zero
010
Ne non carry
4
14
C
011
rarr)'
PO parity odd
100
3
11
PE pa rity even
101
P sign positive
110
M sign negative
111
t
000
001
010
011
100
101
110
111
Anhang
P
OOH
08H
lOH
18H
20H
28H
30H
38H
Inhaltsverzeichnis
loading

Inhaltsverzeichnis