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

PIC16F684-I/P 参数 Datasheet PDF下载

PIC16F684-I/P图片预览
型号: PIC16F684-I/P
PDF下载: 下载PDF文件 查看货源
内容描述: 14引脚基于闪存的8位CMOS微控制器采用纳瓦技术 [14-Pin Flash-Based, 8-Bit CMOS Microcontrollers with nanoWatt Technology]
分类和应用: 闪存微控制器
文件页数/大小: 164 页 / 2585 K
品牌: MICROCHIP [ MICROCHIP ]
 浏览型号PIC16F684-I/P的Datasheet PDF文件第112页浏览型号PIC16F684-I/P的Datasheet PDF文件第113页浏览型号PIC16F684-I/P的Datasheet PDF文件第114页浏览型号PIC16F684-I/P的Datasheet PDF文件第115页浏览型号PIC16F684-I/P的Datasheet PDF文件第117页浏览型号PIC16F684-I/P的Datasheet PDF文件第118页浏览型号PIC16F684-I/P的Datasheet PDF文件第119页浏览型号PIC16F684-I/P的Datasheet PDF文件第120页  
PIC16F684  
CLRWDT  
Clear Watchdog Timer  
BTFSS  
Bit Test f, Skip if Set  
Syntax:  
[ label ] CLRWDT  
Syntax:  
[ label ] BTFSS f,b  
Operands:  
Operation:  
None  
Operands:  
0 f 127  
0 b < 7  
00h WDT  
0 WDT prescaler,  
1 TO  
Operation:  
skip if (f<b>) = 1  
Status Affected: None  
1 PD  
Description:  
If bit ‘b’ in register ‘f’ is ‘0’, the next  
instruction is executed.  
Status Affected: TO, PD  
Description:  
CLRWDTinstruction resets the  
Watchdog Timer. It also resets the  
prescaler of the WDT.  
If bit ‘b’ is ‘1’, then the next  
instruction is discarded and a NOP  
is executed instead, making this a  
2-cycle instruction.  
Status bits TO and PD are set.  
CALL  
Call Subroutine  
COMF  
Complement f  
Syntax:  
[ label ] CALL k  
0 k 2047  
Syntax:  
[ label ] COMF f,d  
0 f 127  
Operands:  
Operation:  
Operands:  
d
[0,1]  
(PC)+ 1TOS,  
k PC<10:0>,  
Operation:  
(f) (destination)  
(PCLATH<4:3>) PC<12:11>  
Status Affected:  
Description:  
Z
Status Affected: None  
The contents of register ‘f’ are  
complemented. If ‘d’ is ‘0’, the  
result is stored in W. If ‘d’ is ‘1’,  
the result is stored back in  
register ‘f’.  
Description:  
Call Subroutine. First, return  
address (PC + 1) is pushed onto  
the stack. The eleven-bit  
immediate address is loaded into  
PC bits <10:0>. The upper bits of  
the PC are loaded from PCLATH.  
CALLis a two-cycle instruction.  
CLRF  
Clear f  
DECF  
Decrement f  
Syntax:  
[ label ] CLRF  
0 f 127  
f
Syntax:  
[ label ] DECF f,d  
0 f 127  
Operands:  
Operation:  
Operands:  
d
[0,1]  
00h (f)  
1 Z  
Operation:  
(f) - 1 (destination)  
Status Affected:  
Description:  
Z
Status Affected:  
Description:  
Z
The contents of register ‘f’ are  
cleared and the Z bit is set.  
Decrement 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’.  
CLRW  
Clear W  
Syntax:  
[ label ] CLRW  
Operands:  
Operation:  
None  
00h (W)  
1 Z  
Status Affected:  
Description:  
Z
W register is cleared. Zero bit (Z)  
is set.  
DS41202C-page 114  
Preliminary  
2004 Microchip Technology Inc.