PIC16C711-04/SP Microchip Technology, PIC16C711-04/SP Datasheet - Page 81

no-image

PIC16C711-04/SP

Manufacturer Part Number
PIC16C711-04/SP
Description
8-Bit CMOS Microcontrollers with A/D Converter
Manufacturer
Microchip Technology
Datasheet
RLF
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Q Cycle Activity:
Example
1997 Microchip Technology Inc.
Rotate Left f through Carry
[ label ]
0
d
See description below
C
The contents of register 'f' are rotated
one bit to the left through the Carry
Flag. If 'd' is 0 the result is placed in
the W register. If 'd' is 1 the result is
stored back in register 'f'.
1
1
Before Instruction
After Instruction
RLF
Decode
Q1
00
f
[0,1]
127
C
REG1
C
REG1
W
C
register
RLF
1101
Read
Q2
'f'
REG1,0
Register f
f,d
=
=
=
=
=
dfff
Process
data
Q3
1110 0110
0
1110 0110
1100 1100
1
Write to
ffff
dest
Q4
RRF
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Q Cycle Activity:
Example
Rotate Right f through Carry
[ label ]
0
d
See description below
C
The contents of register 'f' are rotated
one bit to the right through the Carry
Flag. If 'd' is 0 the result is placed in
the W register. If 'd' is 1 the result is
placed back in register 'f'.
1
1
Before Instruction
After Instruction
Decode
RRF
Q1
00
f
[0,1]
PIC16C71X
127
C
REG1
C
REG1
W
C
RRF f,d
register
1100
Read
Q2
'f'
Register f
DS30272A-page 81
REG1,0
=
=
=
=
=
Process
dfff
data
Q3
1110 0110
0
1110 0110
0111 0011
0
Write to
ffff
dest
Q4

Related parts for PIC16C711-04/SP