EasyManua.ls Logo

Sharp CE-150 - Page 289

Sharp CE-150
412 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
All and more about Sharp PC-1500
at
http://
www
.PC-1500.info
2-4-9. Subroutine jump instructions
®
SJP
(Subrou
tine J
umP)
·r
hc conten
ts
o
ft
he pro
gr
arn counter. \v
hi
ch sho\v the next
progra
n1
Cx('tutingaddrcss.
are sto
re
d
in
the stack pointer. then
th
e
co
ntrol
j
um
p~
to the subroutine
ad
dr
ess
represented
by
i and j
of
t
he
16
-
bi
t immediate data.
No change
takes place
in
O
ag:;.
• Fornlat
S.IP
i.J
(EX) SJP E
OH
.
OOH
•Op
eration
Pl.
- (S)
s - 1
PH
- (S)
S - 1
i - · PH
i-
Pl.
4003H is stored
i
r~
Ule stack
po
i
nt
e
r-
by
th
P.
execution ot
STP
in
struction and
jllmps to lhe subroul;ne of
EOO
OH.
W
it
h the ATN i
nst
ruc
t
io
n
of
the
s
ub
routi
ne
, the co
nt
rol returns to
400
3H
10
n
~s
um
e
previous p
rogr
am exec
ut
ion.
Do
not sale this PDF!!!
~
~•
t(11hOtl
"
""'
"
$.',
I
$J
f>
-!l
~··vc;r.on
<((11
11
,~.
""'"
~;
"""
lrl
\t
(\.(
?
'M
l
~
~
S.o,A:lfO\lt
•"'-'
P..OU>\.$!!i(l
'
Rl/
i
I~
49