INSTRUCTION SET
RR
A
Rotate
Right
Without Carry
10111\011
1
1
The contents
of
the
accumulator
are rotated right
one bit.
Bit
0 is rotated into .the
bit
7 position
(An)--
(An
+1)
(A7)--
(AO)
n=0-6
Example: Assume
accumulator
contains 10110001.
RRNC:
RR
A ;NEW
ACC
CONTENTS ARE 11011000
RRC
A
Rotate
Right
Through Carry
10110\01111
The contents
of
the
accumulator
are rotated right one
bit. Bit
0 replaces the carry bit; the carry bit is
rotated into the bit 7 position.
(An)--
(An+1)
(A7)--
(C)
(C)--
(Ao)
n=0-6
Example: Assume carry is
not
set and
accumulator
contains
10110001.
RRTC: RRC A ;CARRY IS SET AND
ACC
;CONTAINS
01011000
SEL
ANO
Select Analog Input Zero (8022 Only)
11001101011
SEL
AN1
Select Analog Input One (8022 Only)
11000101011
One
of
the
two
analog inputs to the AID converter is selected.
The
conversion process
is
started. Restarting a sequence deletes the
sequence in progress.
4-31