EasyManua.ls Logo

Oki MSM85C154HVS - Page 359

Oki MSM85C154HVS
378 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
MSM80C154S/83C154S/85C154HVS
352
93. RRC A (Rotate accumulator and carry flag right)
00010011
70
Instruction code
Operation
Number of bytes
Number of cycles
Flags
(PSW)
Description
Example RRC A
Instruction code
: Byte 1
:
C AC F0 RS1 RS0 OV F1 P
••
:
:
:
The accumulator and the carry flag are connected, and all bits
are shifted by one bit to the right. The carry flag is shifted to the
accumulator MSB (bit 7), and the accumulator LSB (bit 0) is
shifted to the carry flag.
:
00010011
70
Byte 1
Accumulator
00110100
70
1
1
Before execution
Accumulator
10011010
70
After execution
:
1
Carry flag
0
Carry flag
C
70
Accumulator
Carry

Table of Contents