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

PIC16C57C-04I/SO 参数 Datasheet PDF下载

PIC16C57C-04I/SO图片预览
型号: PIC16C57C-04I/SO
PDF下载: 下载PDF文件 查看货源
内容描述: 基于ROM的8位CMOS微控制器系列 [ROM-Based 8-Bit CMOS Microcontroller Series]
分类和应用: 微控制器和处理器外围集成电路光电二极管PC可编程只读存储器时钟
文件页数/大小: 84 页 / 641 K
品牌: MICROCHIP [ MICROCHIP ]
 浏览型号PIC16C57C-04I/SO的Datasheet PDF文件第36页浏览型号PIC16C57C-04I/SO的Datasheet PDF文件第37页浏览型号PIC16C57C-04I/SO的Datasheet PDF文件第38页浏览型号PIC16C57C-04I/SO的Datasheet PDF文件第39页浏览型号PIC16C57C-04I/SO的Datasheet PDF文件第41页浏览型号PIC16C57C-04I/SO的Datasheet PDF文件第42页浏览型号PIC16C57C-04I/SO的Datasheet PDF文件第43页浏览型号PIC16C57C-04I/SO的Datasheet PDF文件第44页  
PIC16CR54C  
BSF  
Bit Set f  
BTFSS  
Bit Test f, Skip if Set  
Syntax:  
Operands:  
[ label ] BSF f,b  
Syntax:  
[ label ] BTFSS f,b  
0 f 31  
0 b 7  
Operands:  
0 f 31  
0 b < 7  
Operation:  
1 (f<b>)  
Operation:  
skip if (f<b>) = 1  
Status Affected: None  
Status Affected: None  
0101  
bbbf  
ffff  
0111  
bbbf  
ffff  
Encoding:  
Description:  
Words:  
Encoding:  
Bit 'b' in register 'f' is set.  
If bit 'b' in register 'f' is '1' then the next  
instruction is skipped.  
Description:  
1
1
If bit 'b' is '1', then the next instruction  
fetched during the current instruction  
execution, is discarded and an NOP is  
executed instead, making this a 2 cycle  
instruction.  
Cycles:  
BSF  
FLAG_REG,  
7
Example:  
Before Instruction  
FLAG_REG = 0x0A  
Words:  
1
After Instruction  
FLAG_REG = 0x8A  
Cycles:  
Example:  
1(2)  
HERE  
FALSE GOTO  
TRUE  
BTFSS FLAG,1  
PROCESS_CODE  
BTFSC  
Bit Test f, Skip if Clear  
Syntax:  
[ label ] BTFSC f,b  
Operands:  
0 f 31  
0 b 7  
Before Instruction  
PC  
=
address (HERE)  
After Instruction  
If FLAG<1>  
PC  
Operation:  
skip if (f<b>) = 0  
=
=
=
=
0,  
Status Affected: None  
address (FALSE);  
1,  
address (TRUE)  
bbbf  
ffff  
if FLAG<1>  
PC  
Encoding:  
0110  
If bit 'b' in register 'f' is 0 then the next  
instruction is skipped.  
Description:  
If bit 'b' is 0 then the next instruction  
fetched during the current instruction  
execution is discarded, and an NOP is  
executed instead, making this a 2 cycle  
instruction.  
Words:  
1
Cycles:  
Example:  
1(2)  
HERE  
FALSE GOTO  
TRUE  
BTFSC  
FLAG,1  
PROCESS_CODE  
Before Instruction  
PC  
=
address (HERE)  
After Instruction  
if FLAG<1>  
PC  
=
=
=
=
0,  
address (TRUE);  
1,  
address(FALSE)  
if FLAG<1>  
PC  
DS40191A-page 40  
Preliminary  
1998 Microchip Technology Inc.  
 复制成功!