Chapter
3.
Instruction
Set
RAR
3-46
Example:
I ° ° °
__
o
___
-----i'
I
Cycles:
States:
Flag'>:
4
CYonly
Assume
that
the
dccumulator
contains the I'alue
OAAH
and the carry flag
is
zero. The following diagrams illus-
trate
the effect
of
the RAL instruction:
Before:
Carry
.---------. °
f--------------,
Accumulator
_o
____
o
___
o
__
-----i°l
After:
Carry
[i]
Accumulator
1
0
° ° °
01
ROTATE
RIGHT
THROUGH
CARRY
RAR rotates the
content,
of
the accumulator and the carry flag one bit
pmition
to
the right. The carry flag,
which
is
treated
a,
though
it
were pdrt
of
the accumulator, trdnsfer',
to
the high-order bit
of
the
accumulator.
The low-order bit
of
the dccumulator transfers into the carry flag,
Opcode
Operand
RAR
Operand,
are not
permitted
with the RAR imtr'uction,
10
° 0
Cycles:
States:
Flags:
4
CYonly