PIC16CR58A Microchip Technology, PIC16CR58A Datasheet - Page 155

no-image

PIC16CR58A

Manufacturer Part Number
PIC16CR58A
Description
ROM-Based 8-Bit CMOS Microcontroller Series
Manufacturer
Microchip Technology
Datasheets

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16CR58A-04/P042
Manufacturer:
MOTOROLA
Quantity:
80
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
destination
ffff
Write to
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]
127
C
PIC16C6X
REG1
C
REG1
W
C
RRF f,d
register
1100
Read
Q2
'f'
DS30234D-page 155
Register f
REG1,0
=
=
=
=
=
Process
dfff
data
Q3
1110 0110
0
1110 0110
0111 0011
0
destination
ffff
Write to
Q4

Related parts for PIC16CR58A