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

PIC16C57C-04I/SO 参数 Datasheet PDF下载

PIC16C57C-04I/SO图片预览
型号: PIC16C57C-04I/SO
PDF下载: 下载PDF文件 查看货源
内容描述: 基于ROM的8位CMOS微控制器系列 [ROM-Based 8-Bit CMOS Microcontroller Series]
分类和应用: 微控制器和处理器外围集成电路光电二极管PC可编程只读存储器时钟
文件页数/大小: 84 页 / 641 K
品牌: MICROCHIP [ MICROCHIP ]
 浏览型号PIC16C57C-04I/SO的Datasheet PDF文件第41页浏览型号PIC16C57C-04I/SO的Datasheet PDF文件第42页浏览型号PIC16C57C-04I/SO的Datasheet PDF文件第43页浏览型号PIC16C57C-04I/SO的Datasheet PDF文件第44页浏览型号PIC16C57C-04I/SO的Datasheet PDF文件第46页浏览型号PIC16C57C-04I/SO的Datasheet PDF文件第47页浏览型号PIC16C57C-04I/SO的Datasheet PDF文件第48页浏览型号PIC16C57C-04I/SO的Datasheet PDF文件第49页  
PIC16CR54C  
OPTION  
Syntax:  
Load OPTION Register  
[ label ] OPTION  
None  
RLF  
Rotate Left f through Carry  
[ label ] RLF f,d  
0 f 31  
Syntax:  
Operands:  
Operands:  
Operation:  
d
[0,1]  
(W) OPTION  
Status Affected: None  
Operation:  
See description below  
C
0000  
0000  
0010  
Encoding:  
Status Affected:  
Encoding:  
The content of the W register is loaded  
into the OPTION register.  
Description:  
0011  
01df  
ffff  
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'.  
Description:  
Words:  
Cycles:  
Example  
1
1
OPTION  
Before Instruction  
register 'f'  
C
W
=
0x07  
0x07  
After Instruction  
OPTION  
Words:  
1
=
Cycles:  
Example:  
1
RLF  
REG1,0  
RETLW  
Return with Literal in W  
Before Instruction  
Syntax:  
[ label ] RETLW  
k
REG1  
C
=
=
1110 0110  
0
Operands:  
Operation:  
0 k 255  
After Instruction  
k (W);  
TOS PC  
REG1  
W
C
=
=
=
1110 0110  
1100 1100  
1
Status Affected: None  
1000  
kkkk  
kkkk  
Encoding:  
The W register is loaded with the eight  
bit literal 'k'. The program counter is  
loaded from the top of the stack (the  
return address). This is a two cycle  
instruction.  
Description:  
RRF  
Rotate Right f through Carry  
[ label ] RRF f,d  
0 f 31  
Syntax:  
Operands:  
d
[0,1]  
Words:  
1
2
Operation:  
See description below  
C
Cycles:  
Example:  
Status Affected:  
Encoding:  
CALL TABLE ;W contains  
;table offset  
;value.  
0011  
00df  
ffff  
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'.  
Description:  
;W now has table  
;value.  
TABLE  
ADDWF PC  
RETLW k1  
RETLW k2  
;W = offset  
;Begin table  
;
register 'f'  
C
Words:  
1
Cycles:  
Example:  
1
RETLW kn  
; End of table  
RRF  
REG1,0  
Before Instruction  
W
=
0x07  
Before Instruction  
REG1  
C
=
=
1110 0110  
0
After Instruction  
value of k8  
W
=
After Instruction  
REG1  
W
C
=
=
=
1110 0110  
0111 0011  
0
1998 Microchip Technology Inc.  
Preliminary  
DS40191A-page 45  
 复制成功!