欢迎访问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文件第112页浏览型号PIC17LC42-16I/JW的Datasheet PDF文件第113页浏览型号PIC17LC42-16I/JW的Datasheet PDF文件第114页浏览型号PIC17LC42-16I/JW的Datasheet PDF文件第115页浏览型号PIC17LC42-16I/JW的Datasheet PDF文件第117页浏览型号PIC17LC42-16I/JW的Datasheet PDF文件第118页浏览型号PIC17LC42-16I/JW的Datasheet PDF文件第119页浏览型号PIC17LC42-16I/JW的Datasheet PDF文件第120页  
PIC17C4X  
BTFSS  
Bit Test, skip if Set  
BTG  
Bit Toggle f  
Syntax:  
[ label ] BTFSS f,b  
Syntax:  
Operands:  
[ label ] BTG f,b  
Operands:  
0 f 127  
0 b < 7  
0 f 255  
0 b < 7  
Operation:  
skip if (f<b>) = 1  
None  
Operation:  
(f<b>) (f<b>)  
Status Affected:  
Encoding:  
Status Affected:  
Encoding:  
None  
1001  
0bbb  
ffff  
ffff  
0011  
1bbb  
ffff  
ffff  
If bit 'b' in register 'f' is 1 then the next  
instruction is skipped.  
Bit 'b' in data memory location 'f' is  
inverted.  
Description:  
Description:  
If bit 'b' is 1, then the next instruction  
fetched during the current instruction exe-  
cution, is discarded and an NOPis exe-  
cuted instead, making this a two-cycle  
instruction.  
Words:  
Cycles:  
1
1
Q Cycle Activity:  
Q1  
Q2  
Q3  
Q4  
Words:  
Cycles:  
1
Decode  
Read  
Execute  
Write  
register 'f'  
register 'f'  
1(2)  
Q Cycle Activity:  
Q1  
BTG  
PORTC,  
4
Example:  
Q2  
Q3  
Q4  
Before Instruction:  
Decode  
Read  
Execute  
NOP  
PORTC  
=
0111 0101[0x75]  
register 'f'  
After Instruction:  
If skip:  
Q1  
PORTC  
=
0110 0101[0x65]  
Q2  
Q3  
Q4  
Forced NOP  
NOP  
Execute  
NOP  
HERE  
FALSE  
TRUE  
BTFSS  
:
:
FLAG,1  
Example:  
Before Instruction  
PC  
=
address (HERE)  
After Instruction  
If FLAG<1>  
PC  
=
=
=
=
0;  
address (FALSE)  
1;  
address (TRUE)  
If FLAG<1>  
PC  
DS30412C-page 116  
1996 Microchip Technology Inc.  
 复制成功!