165
CHAPTER 9. INSTRUCTION SET
9.4.4
Accumulator Operation Instructions
RORC A
Function: CY
←
A
0
An to A
1
←
An , A
3
←
CY (n = 1 to 3)
Rotates the contents of the A register (4-bit accumulator), including the carry flag, to the right one bit at a
time.
0
0 1 0 1
1
0 0 1 0
CY
3 2 1 0
A
RORC A
Before
Execution
After
Execution
NOT A
Function: A
←
A
Takes the one’s complement (inverts each bit) of the A register (4-bit accumulator).