欢迎访问ic37.com |
会员登录 免费注册
发布采购

PIC17LC42-16I/JW 参数 Datasheet PDF下载

PIC17LC42-16I/JW图片预览
型号: PIC17LC42-16I/JW
PDF下载: 下载PDF文件 查看货源
内容描述: 高性能8位CMOS EPROM / ROM微控制器 [High-Performance 8-Bit CMOS EPROM/ROM Microcontroller]
分类和应用: 微控制器可编程只读存储器电动程控只读存储器
文件页数/大小: 240 页 / 1141 K
品牌: MICROCHIP [ MICROCHIP ]
 浏览型号PIC17LC42-16I/JW的Datasheet PDF文件第130页浏览型号PIC17LC42-16I/JW的Datasheet PDF文件第131页浏览型号PIC17LC42-16I/JW的Datasheet PDF文件第132页浏览型号PIC17LC42-16I/JW的Datasheet PDF文件第133页浏览型号PIC17LC42-16I/JW的Datasheet PDF文件第135页浏览型号PIC17LC42-16I/JW的Datasheet PDF文件第136页浏览型号PIC17LC42-16I/JW的Datasheet PDF文件第137页浏览型号PIC17LC42-16I/JW的Datasheet PDF文件第138页  
PIC17C4X  
RRNCF  
Syntax:  
Rotate Right f (no carry)  
SETF  
Set f  
[ label ] RRNCF f,d  
Syntax:  
Operands:  
[ label ] SETF f,s  
Operands:  
0 f 255  
0 f 255  
d
[0,1]  
s
[0,1]  
Operation:  
f<n> d<n-1>;  
f<0> d<7>  
Operation:  
FFh f;  
FFh d  
Status Affected:  
Encoding:  
None  
Status Affected:  
Encoding:  
None  
0010  
000d  
ffff  
ffff  
0010  
101s  
ffff  
ffff  
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'.  
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.  
Description:  
Description:  
Words:  
Cycles:  
1
1
register f  
Words:  
Cycles:  
1
1
Q Cycle Activity:  
Q1  
Q2  
Q3  
Q4  
Q Cycle Activity:  
Q1  
Decode  
Read  
register 'f'  
Execute  
Write  
register 'f'  
and other  
specified  
register  
Q2  
Q3  
Q4  
Decode  
Read  
register 'f'  
Execute  
Write to  
destination  
RRNCF  
REG, 1  
Example 1:  
SETF  
REG, 0  
Example1:  
Before Instruction  
Before Instruction  
WREG  
REG  
=
=
?
REG  
WREG  
=
=
0xDA  
0x05  
1101 0111  
After Instruction  
After Instruction  
WREG  
REG  
=
=
0
REG  
WREG  
=
=
0xFF  
0xFF  
1110 1011  
Example2:  
SETF  
REG, 1  
RRNCF  
REG, 0  
Example 2:  
Before Instruction  
Before Instruction  
REG  
WREG  
=
=
0xDA  
0x05  
WREG  
REG  
=
=
?
1101 0111  
After Instruction  
After Instruction  
REG  
WREG  
=
=
0xFF  
0x05  
WREG  
REG  
=
=
1110 1011  
1101 0111  
DS30412C-page 134  
1996 Microchip Technology Inc.  
 复制成功!