Download Print this page

Sharp CE-150 Service Manual page 286

Color graphic printer

Advertisement

46
All
and more
about Sharp
PC-1500
at
http://www.PC-1500.info
@ BCH
(Bran CH)
Jun1ps
to
a
nC\v program step
\vhich.i
is
indicated
by
the
progran1
counter of
\vhicJ·l
value
is
addcd
/
sub1
rnc1cd
by the
value of
the
immediate data
i.j. It
will
be possible
to
jump
within
a
r:mgc
of
-
255< i< 255.
No
change
takes
place
in
flags.
• 1-·orn1:.1.t
BCH+i
BCH-
i
(EX)
BCH+
S
Execute
P
=
4002H
- - >
P-
4007H
Operation
P
+
i
-
·P
f>
-
i
-
J>
As
soon
as
1
11e BCH
inslruction
is
read.
;he
program
counter
becomes
..
P=
4002H".
and
after
execution
oi
lhe
SCH
instruction.
the
nex
t
program
execution starts
frorn the
address
4007H.
L
...
I
L
I
,r-
f-
~
-
@
BCS (Bran ch ii C Set)
c·onditional relat
i\'('
address
j1n11p.
When
C=
1.
it
jumps
to a program step
represented
by
the
program counter
of
which
vaiuc
is
addcd
/
sub1rac1
ed with the value
of
the
immediate
data.
If
('=O
.
the control proceeds
directly
t<>
a
next
progrant
step
\V
ithout
causing
jurnp.
N<>
change
ta
k('~
plat('
i
n nags.
Format
BCS+i
Operation
c
-j
l:
P
+i
-
P
0:
P
1101
changed.
c-l
l:
P
-
i
-
·
P
0:
I'
1101
changed.
BCS-
i
(EX)
6CS+
5
Exe.cute
P-
4002H
-
P
=
4007H
C-
1
As soon
as
the
BCS
instruc
tion
1
s
read.
1hc
program
counter
becomes
..
P=
4002H
...
If
C=
1 at that
point.
ne
xt
program execution
starts
from
the
address
4007H.
If
C=
O.
it stflrts
fro
1
n
4002H.
uc-
1
Do not sale
this
PDF!!!

Advertisement

loading