Download Print this page

Sharp PC-1500 Technical Reference Manual page 54

Hide thumbs Also See for PC-1500:

Advertisement

All
and more about Sharp
PC-1500
at http://www.PC-1500.info
2-4-9.
Subroutine jump instructions
®
SJP (Subroutine JumP)
·rhc contents
oft
he
prograrn counter.
\vhich sho\v
the
next
progran1
Cx('tuting addrcss.
are
stored in
the
stack pointer.
then
the
control
jump~
to the
subrout
ine address
represented
by i
and j of the
16-bit
immediate data
.
No change takes place
in
O
ag:;.
Fornla
t
S.IP
i.J
(EX)
SJ
P
EOH.
OOH
•Operation
Pl.
-
(S)
s
-
1
PH
-
(S)
S
-
1
i
-
·
PH
i -
Pl.
4003H
is
stored
i r~
Ul
e
stack pointer-
by
th
P.
execution
o
t
STP
instruc
tion
an
d
jllmps
to
lhe subroul;ne
of
EOOO
H.
With
the
ATN
instruction
of the
subroutine,
the
co
ntrol
returns to 4003H
1
0
n~sum
e
previo
us
program
exec
ution.
Do
not
sale
this PDF!!!
~
~•
t(11hOtl
"
""'"
$.',
I
$Jf>
-!l~··vc;r.on
<((1111
,~.
""'"
~;
"""
lrl\t(\.(
?'M
l
~
~
S.o,A:lfO\lt•"'-'
P..OU>\.$!!i(l
'
Rl/i
I~
49

Advertisement

loading