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

PIC16F505-I/SL 参数 Datasheet PDF下载

PIC16F505-I/SL图片预览
型号: PIC16F505-I/SL
PDF下载: 下载PDF文件 查看货源
内容描述: 8月14日引脚, 8位闪存微控制器 [8/14-Pin, 8-Bit Flash Microcontrollers]
分类和应用: 闪存微控制器和处理器外围集成电路光电二极管PC时钟
文件页数/大小: 100 页 / 1278 K
品牌: MICROCHIP [ MICROCHIP ]
 浏览型号PIC16F505-I/SL的Datasheet PDF文件第59页浏览型号PIC16F505-I/SL的Datasheet PDF文件第60页浏览型号PIC16F505-I/SL的Datasheet PDF文件第61页浏览型号PIC16F505-I/SL的Datasheet PDF文件第62页浏览型号PIC16F505-I/SL的Datasheet PDF文件第64页浏览型号PIC16F505-I/SL的Datasheet PDF文件第65页浏览型号PIC16F505-I/SL的Datasheet PDF文件第66页浏览型号PIC16F505-I/SL的Datasheet PDF文件第67页  
PIC12F508/509/16F505  
RETLW  
Return with Literal in W  
[ label ] RETLW k  
0 k 255  
SLEEP  
Enter SLEEP Mode  
Syntax:  
Syntax:  
[label ]  
SLEEP  
Operands:  
Operation:  
Operands:  
Operation:  
None  
k (W);  
TOS PC  
00h WDT;  
0 WDT prescaler;  
1 TO;  
Status Affected: None  
0 PD  
Description:  
The W register is loaded with the  
Status Affected: TO, PD, RBWUF  
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:  
Time-out Status bit (TO) is set. The  
Power-down Status bit (PD) is  
cleared.  
RBWUF is unaffected.  
The WDT and its prescaler are  
cleared.  
The processor is put into Sleep  
mode with the oscillator stopped.  
See Section 7.9 “Power-down  
Mode (Sleep)” on Sleep for more  
details.  
RLF  
Rotate Left f through Carry  
SUBWF  
Subtract W from f  
Syntax:  
Operands:  
[ label ]  
RLF f,d  
Syntax:  
[label ] SUBWF f,d  
0 f 31  
d [0,1]  
Operands:  
0 f 31  
d [0,1]  
Operation:  
See description below  
C
Operation:  
(f) – (W) → (dest)  
Status Affected:  
Description:  
Status Affected: C, DC, Z  
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:  
Subtract (2’s complement method)  
the W register from register ‘f’. If ‘d’  
is ‘0’, the result is stored in the W  
register. If ‘d’ is ‘1’, the result is  
stored back in register ‘f’.  
register ‘f’  
C
RRF  
Rotate Right f through Carry  
SWAPF  
Syntax:  
Swap Nibbles in f  
Syntax:  
Operands:  
[ label ] RRF f,d  
[ label ] SWAPF f,d  
0 f 31  
d [0,1]  
Operands:  
0 f 31  
d [0,1]  
Operation:  
See description below  
C
Operation:  
(f<3:0>) (dest<7:4>);  
(f<7:4>) (dest<3:0>)  
Status Affected:  
Description:  
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’.  
Status Affected: None  
Description: The upper and lower nibbles of  
register ‘f’ are exchanged. If ‘d’ is  
0’, the result is placed in W  
register. If ‘d’ is ‘1’, the result is  
placed in register ‘f’.  
register ‘f’  
C
© 2007 Microchip Technology Inc.  
Preliminary  
DS41236C-page 61  
 复制成功!