8052 Instruction Set
E-22
RLC
–
Rotate Accumulator Left Through Carry
Syntax
RLC A
Instructions
OpCode
Bytes
Cycles
Flags
RLC A
0x33
1
1
C
RLC shifts the bits of the accumulator to the left. The left-most bit (bit 7) of the
accumulator is loaded into the carry flag, and the original carry flag is loaded
into bit 0 of the accumulator.
See also: RL, RR, RRC
RR
Rotate Accumulator Right
Syntax
RR A
Instructions
OpCode
Bytes
Cycles
Flags
RR A
0x03
1
1
None
RR shifts the bits of the accumulator to the right. The right-most bit (bit 0) of
the accumulator is loaded into bit 7.
See also: RL, RLC, RRC
RRC
Rotate Accumulator Right Through Carry
Syntax
RRC A
Instructions
OpCode
Bytes
Cycles
Flags
RRC A
0x13
1
1
C
RRC shifts the bits of the accumulator to the right. The right-most bit (bit 0) of
the accumulator is loaded into the carry flag, and the original carry flag is
loaded into bit 7.
See also: RL, RLC, RR
SETB
Set Bit
Syntax
SETB bitAddr
Instructions
OpCode
Bytes
Cycles
Flags
SETB C
0xD3
1
1
C
SETB bitAddr
0xD2
2
1
None
SETB sets the specified bit.
If the instruction requires the carry bit to be set, the assembler will automatical-
ly use the 0xD3 opcode. If any other bit is set, the assembler will automatically
use the 0xD2 opcode.
See also: CLR
Содержание MSC1210
Страница 1: ... December 2002 User s Guide SBAU077 ...
Страница 149: ...Digital Filter 12 13 Analog to Digital Converter Figure 12 5 Filter Frequency Responses ...
Страница 162: ...12 26 ...
Страница 234: ...Timers 17 6 Figure 17 4 Timer Counter 1 Mode 1 Figure 17 5 Interrupt System ...
Страница 273: ...Serial Port I O 17 45 Keil Simulator Figure 17 19 Clock Control Peripheral Figure 17 20 USART0 Preipheral ...
Страница 282: ...C 4 ...