PIC17C42 Microchip Technology, PIC17C42 Datasheet - Page 134

no-image

PIC17C42

Manufacturer Part Number
PIC17C42
Description
High-Performance 8-Bit CMOS EPROM/ROM Microcontroller
Manufacturer
Microchip Technology
Datasheets

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC17C42-16/JW
Manufacturer:
AD
Quantity:
12
Part Number:
PIC17C42A-16/L
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC17C42A-16/PQ
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC17C42A-16/PQ
Manufacturer:
MICROCH
Quantity:
20 000
Part Number:
PIC17C42A-16/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC17C42A-16E/L
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC17C42A-16E/PQ
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC17C42A-25/P
Manufacturer:
MICROCLOCK
Quantity:
20 000
PIC17C4X
RRNCF
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Q Cycle Activity:
Example 1:
Example 2:
DS30412C-page 134
Before Instruction
After Instruction
Before Instruction
After Instruction
Decode
WREG
REG
WREG
REG
WREG
REG
WREG
REG
Q1
=
=
=
=
=
=
=
=
register 'f'
Rotate Right f (no carry)
[ label ]
0
d
f<n>
f<0>
The contents of register 'f' are rotated
one bit to the right. If 'd' is 0 the result is
placed in WREG. If 'd' is 1 the result is
placed back in register 'f'.
1
1
RRNCF
RRNCF
None
Read
0010
Q2
?
1101 0111
0
1110 1011
?
1101 0111
1110 1011
1101 0111
f
[0,1]
255
d<n-1>;
d<7>
REG, 1
REG, 0
RRNCF f,d
000d
Execute
Q3
register f
ffff
destination
Write to
Q4
ffff
SETF
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Q Cycle Activity:
Example1:
Example2:
Before Instruction
After Instruction
Before Instruction
After Instruction
Decode
REG
WREG
REG
WREG
REG
WREG
REG
WREG
Q1
=
=
=
=
=
=
=
=
register 'f'
SETF
Set f
[ label ]
0
s
FFh
FFh
None
If 's' is 0, both the data memory location
'f' and WREG are set to FFh. If 's' is 1
only the data memory location 'f' is set
to FFh.
1
1
SETF
Read
0010
Q2
0xDA
0x05
0xFF
0xFF
0xDA
0x05
0xFF
0x05
f
[0,1]
1996 Microchip Technology Inc.
255
f;
d
REG, 1
SETF f,s
REG, 0
101s
Execute
Q3
ffff
register 'f'
and other
specified
register
Write
Q4
ffff

Related parts for PIC17C42