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

PIC16F767-I/SP 参数 Datasheet PDF下载

PIC16F767-I/SP图片预览
型号: PIC16F767-I/SP
PDF下载: 下载PDF文件 查看货源
内容描述: 28 /40/ 44引脚, 8位CMOS闪存微控制器与10位A / D和纳瓦技术 [28/40/44-Pin, 8-Bit CMOS Flash Microcontrollers with 10-Bit A/D and nanoWatt Technology]
分类和应用: 闪存微控制器和处理器外围集成电路光电二极管时钟
文件页数/大小: 276 页 / 4898 K
品牌: MICROCHIP [ MICROCHIP ]
 浏览型号PIC16F767-I/SP的Datasheet PDF文件第193页浏览型号PIC16F767-I/SP的Datasheet PDF文件第194页浏览型号PIC16F767-I/SP的Datasheet PDF文件第195页浏览型号PIC16F767-I/SP的Datasheet PDF文件第196页浏览型号PIC16F767-I/SP的Datasheet PDF文件第198页浏览型号PIC16F767-I/SP的Datasheet PDF文件第199页浏览型号PIC16F767-I/SP的Datasheet PDF文件第200页浏览型号PIC16F767-I/SP的Datasheet PDF文件第201页  
PIC16F7X7  
16.2 Instruction Descriptions  
ADDLW  
Add Literal and W  
BCF  
Bit Clear f  
Syntax:  
[ label ] ADDLW  
0 k 255  
k
Syntax:  
[ label ] BCF f,b  
Operands:  
Operation:  
Status Affected:  
Description:  
Operands:  
0 f 127  
0 b 7  
(W) + k (W)  
C, DC, Z  
Operation:  
0 (f<b>)  
Status Affected:  
Description:  
None  
The contents of the W register  
are added to the eight-bit literal ‘k’  
and the result is placed in the W  
register.  
Bit ‘b’ in register ‘f’ is cleared.  
BSF  
Bit Set f  
ADDWF  
Add W and f  
Syntax:  
[ label ] BSF f,b  
Syntax:  
[ label ] ADDWF f,d  
Operands:  
0 f 127  
0 b 7  
Operands:  
0 f 127  
d [0,1]  
Operation:  
1 (f<b>)  
Operation:  
(W) + (f) (destination)  
Status Affected:  
Description:  
None  
Status Affected: C, DC, Z  
Bit ‘b’ in register ‘f’ is set.  
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 register ‘f’.  
BTFSS  
Bit Test f, Skip if Set  
ANDLW  
AND Literal with W  
Syntax:  
[ label ] BTFSS f,b  
Syntax:  
[ label ] ANDLW  
0 k 255  
k
Operands:  
0 f 127  
0 b < 7  
Operands:  
Operation:  
Status Affected:  
Description:  
(W) .AND. (k) (W)  
Operation:  
skip if (f<b>) = 1  
Z
Status Affected: None  
The contents of W register are  
ANDed with the eight-bit literal ‘k’.  
The result is placed in the  
W register.  
Description:  
If bit ‘b’ in register ‘f’ is ‘0’, the next  
instruction is executed.  
If bit ‘b’ is ‘1’, then the next  
instruction is discarded and a NOP  
is executed instead, making this a  
2 TCY instruction.  
BTFSC  
Bit Test, Skip if Clear  
ANDWF  
AND W with f  
Syntax:  
[ label ] BTFSC f,b  
Syntax:  
[ label ] ANDWF f,d  
Operands:  
0 f 127  
0 b 7  
Operands:  
0 f 127  
d [0,1]  
Operation:  
skip if (f<b>) = 0  
Operation:  
(W) .AND. (f) (destination)  
Status Affected: None  
Status Affected:  
Description:  
Z
Description: If bit ‘b’ in register ‘f’ is ‘1’, the next  
AND the W register with register  
‘f’. If ‘d’ is ‘0’, the result is stored in  
the W register. If ‘d’ is ‘1’, the  
instruction is executed.  
If bit ‘b’ in register ‘f’ is ‘0’, the next  
instruction is discarded and a NOP  
is executed instead, making this a  
2 TCY instruction.  
result is stored back in register ‘f’.  
2004 Microchip Technology Inc.  
DS30498C-page 195