EasyManua.ls Logo

Sharp PC-1500 - Page 54

Sharp PC-1500
182 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
-1
500 at http:
/l
www.PC-1500.info
2-4-9. Subroutine jump instructions
@ SJP {Subroutine JumP)
The
contems of the
prog
ram
co
unt
er, w
hi
ch sh
ow
the
next
program
executing address.
are stored in the stack
po
i
nte
r, then the
contro
l j umps to
th
e subroutine addr
es$
re
pr
ese
nt
ed
by i and j of
th
e 16-
bit
i
mmedia
te data.
No
change tak
es
pla
ce
in
t1ags
.
Format
SJ
P
i,j
(
EX
) $J P E
OH
,
OO
H
•Op
eration
PL
- (S)
S - 1
PH - (S)
S - 1
i-
PH
i - Pl.
40
0
3H
is stor
ed
in the stack poin
te
r
by
the execution of STP instruc
ti
on and
jumps to t
he
su
broutine of
EOOOH
.
Wi
th
the RTN in
st
ruction ot the
subroutine. t
he
con
tr
ol
re
turns to 4003H
to resume
prev
ious program executi
on
.
Do
not
sell this PDF !!!
.t
OOOU
SJP
4001
H1-
-,0tt-
-I
l SJP
in$1rVC
ll
~
1----1
="1--""'--1
4003H
1
lnsl
r
UC
t
:;()n
,
l
(OC()H
Sv
o
ro1.thne
Qf'
O<:~S.S-0"9
RIN
49