Download Print this page

Sharp PC-1500 Technical Reference Manual page 58

Hide thumbs Also See for PC-1500:

Advertisement

All and
more
about Sharp
PC-1500
at
http://www.PC-1500.info
@
VZR (Vector subroutine jump ii Z
Reset)
If
Z=O
.
it
performs
the
vector subroutine
jump,
the same as i1b
the
VMJ
instruction.
If
Z=
I,
the
contro
l
proceeds
f
()
the succeeding
prograrn step.
•Format
VZ
R
i
@
VVS (Vector
subroutine
jump if
V Set)
If
V=
I.
ii
performs the
vector subroutine jum
p.
the
same
as
in
the VM
.J
instruction.
If
\
1
=
0.
the
control
p r<>
Ct.:eds to
the
succeeding
prograrn ste
p.
•Format
vvs
i
2-4-10.
Return
instructions
(By
RTN (ReTurN from subroutine)
The instruction
usc:d to
return
f ron1
the subroutine to the
main
r(>
utinc.
No change takes place in
flag.~.
·rhc
previous
progran1
address is
gotten
fro111
€he
t
xtcrnal
n1cn1or)r
stack
t<
>
he
transfe
rred
to the
program
counter.
The
next instruction
will
be
fetc
hed
from
the
address
indicated
l:>y
the
program
counter.
Forrnaf
RTN
@
RTI (ReTurn from
Interrupt)
•Operation
S
+
l
-
·
S
(S) -
PH
S
+
l
-
·
S
(S)
-
Pl.
The
inscruction
used
10
return
fron1
the
interrupt
service
routi11e
to
the
111ain
routi ne.
After executing the
san1
e procedure as
in
the
I~:f!\
instruction.
t
hen
the contents oft
he
·r
register
a
t
the
tinlc
of interrupt
are
gotten
frorn
1he
external
nlen1ory
stack
to
be
transferred
to
the
··
r
register.
Flags
arc also
set
to
their
previous states.
l:
orn1at
RT
I
•Operation
S
+
I
-
S
(S) -
PH
S
+
i
-
·
S
(S)
-
Pl.
S
+
l
-
·
S
(S)
- T
Do not sale
this PDF!!!
53

Advertisement

loading