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

PIC16F870-I/SS 参数 Datasheet PDF下载

PIC16F870-I/SS图片预览
型号: PIC16F870-I/SS
PDF下载: 下载PDF文件 查看货源
内容描述: 40分之28引脚8位CMOS闪存微控制器 [28/40-Pin 8-Bit CMOS FLASH Microcontrollers]
分类和应用: 闪存微控制器和处理器外围集成电路装置光电二极管PC时钟
文件页数/大小: 156 页 / 2816 K
品牌: MICROCHIP [ MICROCHIP ]
 浏览型号PIC16F870-I/SS的Datasheet PDF文件第103页浏览型号PIC16F870-I/SS的Datasheet PDF文件第104页浏览型号PIC16F870-I/SS的Datasheet PDF文件第105页浏览型号PIC16F870-I/SS的Datasheet PDF文件第106页浏览型号PIC16F870-I/SS的Datasheet PDF文件第108页浏览型号PIC16F870-I/SS的Datasheet PDF文件第109页浏览型号PIC16F870-I/SS的Datasheet PDF文件第110页浏览型号PIC16F870-I/SS的Datasheet PDF文件第111页  
PIC16F870/871  
12.1  
Instruction Descriptions  
Add Literal and W  
ADDLW  
ANDWF  
Syntax:  
AND W with f  
[label] ANDWF f,d  
0 f 127  
Syntax:  
[label] ADDLW  
0 k 255  
k
Operands:  
Operation:  
Operands:  
d
[0,1]  
(W) + k (W)  
Operation:  
(W) .AND. (f) (destination)  
Status Affected: C, DC, Z  
Status Affected:  
Description:  
Z
Description:  
The contents of the W register  
are added to the eight bit literal ’k’  
and the result is placed in the W  
register.  
AND the W register with 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'.  
BCF  
Bit Clear f  
ADDWF  
Syntax:  
Add W and f  
Syntax:  
Operands:  
[label] BCF f,b  
[label] ADDWF f,d  
0 f 127  
0 b 7  
Operands:  
0 f 127  
d
[0,1]  
Operation:  
0 (f<b>)  
Operation:  
(W) + (f) (destination)  
Status Affected: None  
Status Affected: C, DC, Z  
Description:  
Bit 'b' in register 'f' is cleared.  
Description:  
Add the contents of the W register  
with register ’f’. If ’d’ is 0, the result  
is stored in the W register. If ’d’ is  
1, the result is stored back in reg-  
ister ’f’.  
BSF  
Bit Set f  
Syntax:  
Operands:  
[label] BSF f,b  
ANDLW  
AND Literal with W  
0 f 127  
0 b 7  
Syntax:  
[label] ANDLW  
k
Operands:  
Operation:  
Status Affected:  
Description:  
0 k 255  
Operation:  
1 (f<b>)  
(W) .AND. (k) (W)  
Status Affected: None  
Description: Bit 'b' in register 'f' is set.  
Z
The contents of W register are  
AND’ed with the eight bit literal  
'k'. The result is placed in the W  
register.  
1999 Microchip Technology Inc.  
Preliminary  
DS30569A-page 107