40
A
ll
and more about Sharp PC-1500
at
http://
www
.PC-1500.info
@ SHR
($Hilt
Right)
The contents
of
th
e accumul
ato
r
arc
shifted right.
•Format • Operation
S
HR
----
I
-EJ
"O"
-·
~
--
-· -· - 1
A
(EX)
SHR
I t
0 0 I 0 0 t
~
~
E
x
ec
u
te
---+
Io
1
0 0
1
0 0
1 I
cu
A
C.-i
t
ry
A
Ca
fr
y
@ DRL (Digit Rotate Left)
l.eft ro
tat
ion
ta
kes bc
t,vccn
th
e a
ccu
rr1ulat
or
and
the
external
rn
e
rn
ory
(X
r
cg)
or
N(Xrcg) in un
it
of digit (4 bits).
In other words. the low
order4
bits
oft
he external m
emo
ry
arc
moved to the high or
der
4 bits
of
the external memory, the high order 4
bi
ls
of
the external me
mor
y
ar
e nnoved
to
the high order 4 bits of the ac
cum
ulator. the high order 4
bi
ts
of
th
e accumul
at
or
ar
e
moved to the low
or
der 4 bits
of
the exte
rna
l memory.
and
the low order 4 bits
of
the
accumulat
or
a
rc
mo
ve
d
co
the low order 4 bits of the external memory ac a
ll
times.
No change takes place in flags.
•F
ormal
ORI. (Xrcg)
DR L it(Xrcg)
•
Or>
eration
l
t
A
Memor
y
((
Xre
g;
or
:;
(
Xre
g))
(EX) DRL (Xreg)
Xreg
=
4700
H
A
=
I~
0
___
0_ 1 _ 1 1
Ex
ecut
e
____,
A= J 1 0 1 I 0 0 1
11
Cont
en
ts = 11 0 I I 0 0 1 t I
of
4700
H .
Conte
nt
s = J 0 0 1 1 0 I 0 j
of
4700
H
------'·
Do
not sale this PDF!!!