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

PIC12F1501-I-MC 参数 Datasheet PDF下载

PIC12F1501-I-MC图片预览
型号: PIC12F1501-I-MC
PDF下载: 下载PDF文件 查看货源
内容描述: 8引脚闪存8位微控制器 [8-Pin Flash, 8-Bit Microcontrollers]
分类和应用: 闪存微控制器
文件页数/大小: 279 页 / 2702 K
品牌: MICROCHIP [ MICROCHIP ]
 浏览型号PIC12F1501-I-MC的Datasheet PDF文件第219页浏览型号PIC12F1501-I-MC的Datasheet PDF文件第220页浏览型号PIC12F1501-I-MC的Datasheet PDF文件第221页浏览型号PIC12F1501-I-MC的Datasheet PDF文件第222页浏览型号PIC12F1501-I-MC的Datasheet PDF文件第224页浏览型号PIC12F1501-I-MC的Datasheet PDF文件第225页浏览型号PIC12F1501-I-MC的Datasheet PDF文件第226页浏览型号PIC12F1501-I-MC的Datasheet PDF文件第227页  
PIC12(L)F1501  
SUBLW  
Subtract W from literal  
RRF  
Rotate Right f through Carry  
Syntax:  
[ label ] SUBLW  
0 k 255  
k
Syntax:  
[ label ] RRF f,d  
Operands:  
Operation:  
Status Affected:  
Description:  
Operands:  
0 f 127  
d [0,1]  
k - (W) W)  
C, DC, Z  
Operation:  
See description below  
C
The W register is subtracted (2’s com-  
plement method) from the eight-bit  
literal ‘k’. The result is placed in the W  
register.  
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’.  
C = 0  
W k  
C = 1  
W k  
C
Register f  
DC = 0  
DC = 1  
W<3:0> k<3:0>  
W<3:0> k<3:0>  
SUBWF  
Subtract W from f  
SLEEP  
Enter Sleep mode  
[ label ] SLEEP  
None  
Syntax:  
[ label ] SUBWF f,d  
Syntax:  
Operands:  
0 f 127  
d [0,1]  
Operands:  
Operation:  
00h WDT,  
0WDT prescaler,  
1TO,  
Operation:  
(f) - (W) destination)  
Status Affected:  
Description:  
C, DC, Z  
0PD  
Subtract (2’s complement method) 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.  
Status Affected:  
Description:  
TO, PD  
The power-down Status bit, PD is  
cleared. Time-out Status bit, TO is  
set. Watchdog Timer and its pres-  
caler are cleared.  
C = 0  
W f  
The processor is put into Sleep mode  
with the oscillator stopped.  
C = 1  
W f  
DC = 0  
DC = 1  
W<3:0> f<3:0>  
W<3:0> f<3:0>  
SUBWFB  
Subtract W from f with Borrow  
Syntax:  
SUBWFB f {,d}  
Operands:  
0 f 127  
d [0,1]  
Operation:  
(f) – (W) – (B) dest  
Status Affected:  
Description:  
C, DC, Z  
Subtract W and the BORROW flag  
(CARRY) from register ‘f’ (2’s comple-  
ment method). If ‘d’ is ‘0’, the result is  
stored in W. If ‘d’ is ‘1’, the result is  
stored back in register ‘f’.  
2011 Microchip Technology Inc.  
Preliminary  
DS41615A-page 223  
 
 
 
 
 
 复制成功!