All and more about Sharp PC-1500 at http:/lwww.PC-1500.info
@ VZR (Vector subroutine
jump
if
Z Reset)
If Z=
O,
it performs the vector subroutine
jump
. the
same
as
in
the
VM
J instruction.
If
Z= I.
the
co
ntrol proceeds
to
the
succeed
in
g prog
ram
ste
p.
•Format
VZR
i
@ VVS (Vector subroutine
jump
if
V Set)
If V= J, it performs the vector s
ubr
ou
ti
ne
ju
mp.
the
sa
me
as
in
the
VMJ
instrnction.
If
V=
O.
the
co
ntrol proceeds to the succee
ding
program step.
•
For
mat
vvs
i
2-4-10. Return instructions
@ RTN (ReTurN
from
subroutine)
The
in
struction used
to
ret
urn
from the
subrou
tine to the main routine.
l\o
change takes place in nags.
The
pr
evi
ou
s
program
address is
go
tt
en
from
the
ex
ternal
memor
y stack
to
be
transf
err
ed to the program c
ount
e
r.
The next instruciion will be fetched from the
addr
ess indicaied
by
ihe program
co
unter.
•
Fo
rmat
RT
N
@ RTI (ReTurn from Interrupt)
•Op
eration
S
+I
- S
(S
) - PH
S + I - S
(S) -· PI.
The instruction used
t0
re
turn
from the int
errupt
serv
ice
r
outine
to
the main routine.
After executing the
sa
me
pr
ocedure
as
in
the
RT
N
in
stru
ct
ion. then the
co
ntents
of
the
T register
at
the
ti
me of inter
rupt
ar
e gotten from the externa l me
mor
y stack tO be
transferred to the T register. Flags a
rc
al
so
set
to
their previous states.
•F
or
mat
RTI
•O
peration
S
+ I - S
(S) - PH
S + I - S
(S) -
PL
S + I - S
(
S)-
T
Do
not
sell this PDF !!!
53