EasyManua.ls Logo

Sharp PC-1500 - Page 56

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-1500
at
http:/lwww.PC-1500.info
@ VMJ (Vector 2
byt
e Subrouti
ne
Jump
)
Jumps
to
the
addrc~
s
indicated
by
the
two
-byte vector
addrc~
s
.
whose high
order
address byte
is
represented by
FFH
and
low
order
address byte
by
the immediate
data.
TI1e
nag Z is reset.
Vector
add
ress table contains
FF
OO
H
thru
FFF6
H. lrnmcclia1c value i may take even
nu
rnb~r
of
OOH
1hru
F6
H.
•F
ormat
YM
.J
i
•O
peration
PL
- (S)
(E
X)
S - I - S
PH
- (S)
S - I - S
(FFOOH+i) -
PH
(FF
OOH
+
i+I)
-
Pl.
YMJ
CO
H
lX>H
""'
"
Th
e conten1s
of
FFCOH
are
in
terrogated
"'''"
by
the VMJ instrucuon and j
ump
to
the
subrout
ine of
EOCOH
.
With the RTN instructi
on
ol
the
subrou1ine.
the
execution resumes
from
the address 4002H again
Because
11
pcrrni1s subroutine
jump
by
two
byte
s
of
instruc1ion.
11
helps
to
·-
reduce program steps, as
com
pared with
the
SJP instruction.
,.,
} 'tMJ
~
lfll(
! (ll'>
"""
i.-...
~
s..-.
....
pr
O(
U
l"C
·--;;:---
~
-
..
-
~
H
(I
H
CO..
Do not sell this PDF !!!
51