Intel 8XC251SA User Manual page 368

Embedded microcontroller
Hide thumbs Also See for 8XC251SA:
Table of Contents

Advertisement

8XC251SA, SB, SP, SQ USER'S MANUAL
Operation for INTR = 1:
RETI
(PC).15:8 ← ((SP))
(SP) ← (SP) – 1
PC).7:0 ← ((SP))
(SP) ← (SP) – 1
(PC).23:16 ← ((SP))
(SP) ← (SP) – 1
PSW1 ← ((SP))
(SP) ← (SP) – 1
RL A
Function:
Rotate accumulator left
Description:
Rotates the eight bits in the accumulator one bit to the left. Bit 7 is rotated into the bit 0
position.
Flags:
CY
Example:
The accumulator contains 0C5H (11000101B). After executing the instruction,
RL A
the accumulator contains 8BH (10001011B); the CY flag is unaffected.
Binary Mode
Bytes:
States:
[Encoding]
0 0 1 0
Hex Code in:
Binary Mode = [Encoding]
Source Mode = [Encoding]
Operation:
RL
(A).a+1 ← (A).a
(A).0 ← (A).7
RLC A
Function:
Rotate accumulator left through the carry flag
Description:
Rotates the eight bits in the accumulator and the CY flag one bit to the left. Bit 7 moves into
the CY flag position and the original state of the CY flag moves into bit 0 position.
Flags:
CY
A-116
AC
Source Mode
1
1
1
1
0 0 1 1
AC
OV
N
OV
N
Z
Z

Advertisement

Table of Contents
loading

This manual is also suitable for:

8xc251sb8xc251sp8xc251sq

Table of Contents