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

PIC17LC42-16I/JW 参数 Datasheet PDF下载

PIC17LC42-16I/JW图片预览
型号: PIC17LC42-16I/JW
PDF下载: 下载PDF文件 查看货源
内容描述: 高性能8位CMOS EPROM / ROM微控制器 [High-Performance 8-Bit CMOS EPROM/ROM Microcontroller]
分类和应用: 微控制器可编程只读存储器电动程控只读存储器
文件页数/大小: 240 页 / 1141 K
品牌: MICROCHIP [ MICROCHIP ]
 浏览型号PIC17LC42-16I/JW的Datasheet PDF文件第111页浏览型号PIC17LC42-16I/JW的Datasheet PDF文件第112页浏览型号PIC17LC42-16I/JW的Datasheet PDF文件第113页浏览型号PIC17LC42-16I/JW的Datasheet PDF文件第114页浏览型号PIC17LC42-16I/JW的Datasheet PDF文件第116页浏览型号PIC17LC42-16I/JW的Datasheet PDF文件第117页浏览型号PIC17LC42-16I/JW的Datasheet PDF文件第118页浏览型号PIC17LC42-16I/JW的Datasheet PDF文件第119页  
PIC17C4X  
BSF  
Bit Set f  
BTFSC  
Bit Test, skip if Clear  
Syntax:  
Operands:  
[ label ] BSF f,b  
Syntax:  
[ label ] BTFSC f,b  
0 f 255  
0 b 7  
Operands:  
0 f 255  
0 b 7  
Operation:  
Status Affected:  
Encoding:  
Description:  
Words:  
1 (f<b>)  
Operation:  
skip if (f<b>) = 0  
None  
None  
Status Affected:  
Encoding:  
1000  
0bbb  
ffff  
ffff  
1001  
1bbb  
ffff  
ffff  
Bit 'b' in register 'f' is set.  
If bit 'b' in register ’f' is 0 then the next  
instruction is skipped.  
Description:  
1
1
If bit 'b' is 0 then the next instruction  
fetched during the current instruction exe-  
cution is discarded, and a NOPis exe-  
cuted instead, making this a two-cycle  
instruction.  
Cycles:  
Q Cycle Activity:  
Q1  
Q2  
Q3  
Q4  
Decode  
Read  
register 'f'  
Execute  
Write  
register 'f'  
Words:  
Cycles:  
1
1(2)  
BSF  
FLAG_REG, 7  
Example:  
Q Cycle Activity:  
Q1  
Before Instruction  
Q2  
Q3  
Q4  
FLAG_REG= 0x0A  
Decode  
Read  
Execute  
NOP  
After Instruction  
register 'f'  
FLAG_REG= 0x8A  
If skip:  
Q1  
Q2  
Q3  
Q4  
Forced NOP  
NOP  
Execute  
NOP  
HERE  
FALSE  
TRUE  
BTFSC  
:
:
FLAG,1  
Example:  
Before Instruction  
PC  
=
address (HERE)  
After Instruction  
If FLAG<1>  
PC  
=
=
=
=
0;  
address (TRUE)  
1;  
address (FALSE)  
If FLAG<1>  
PC  
1996 Microchip Technology Inc.  
DS30412C-page 115  
 复制成功!