All and more about Sharp PC-1500 at http:/lwww.PC-1500.info
@ ORR (Digit Rotate Right)
Right rotati
on
takes between
the
accumu
l
ator
and
the
ex
t
erna
l memory (Xreg)
or
ll
(Xr
eg) in unit
of
digit (4 bits).
In
other
words. the l
ow
or
d
er
4 bits of the exte
rna
l me
mor
y
arc
moved to the l
ow
order
4 bits
of
the accumulator. the low order 4 bits of the accumulat
or
arc
moved
to
the
hi
gh
ord
er
4 bits of
th
e exte
rn
al m
em
or
y.
th
e
high
or
der
4 bits of t
he
external mem
ory
are
moved to the l
ow
or
de
r 4 bits of the external memory.
and
the high or
der
4 bits of the
external memory
are
moved
to
the hi
gh
ord
er
4 bits of the
accum
ul
at0
r
memor
y at all
times.
No change takes place in nags.
•Format
O
RR
(Xreg)
DR R
/l
(Xrcg)
(EX) ORR (Xr
eg
)
Xreg= 4700H
A= Lt
A
ooooo
iJ
Memory
l(
Xreg) or u(Xreg)j
A=l o 1 o o o o 1 ol
Ex
ecute
-
Co
ntents= r 0 1 0 0 0 0 1 0 I
of 470
0H
~
® AEX (EXchange Ace)
Conte
nts
= J 0 0 0 1 0 1 0 0 ]
of
4
700H
The high
orde
r 4 bits of the accumul
ator
are
sw
apped
with
the
low
order
4 bits.
No change takes place in
na
gs.
•Format
AEX
(EX) AEX
•Operation
f J
A
A= [ 1
--------
Exec
ute
~------
0 0 1 0 1 0 I
-->
A= J 1 0 1 0 1 1 0
()
·1
Do
not
sell this PDF !!!
4 1