欢迎访问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文件第115页浏览型号PIC17LC42-16I/JW的Datasheet PDF文件第116页浏览型号PIC17LC42-16I/JW的Datasheet PDF文件第117页浏览型号PIC17LC42-16I/JW的Datasheet PDF文件第118页浏览型号PIC17LC42-16I/JW的Datasheet PDF文件第120页浏览型号PIC17LC42-16I/JW的Datasheet PDF文件第121页浏览型号PIC17LC42-16I/JW的Datasheet PDF文件第122页浏览型号PIC17LC42-16I/JW的Datasheet PDF文件第123页  
PIC17C4X  
Compare f with WREG,  
skip if f = WREG  
Compare f with WREG,  
CPFSEQ  
CPFSGT  
skip if f > WREG  
[ label ] CPFSGT  
0 f 255  
Syntax:  
[ label ] CPFSEQ  
f
Syntax:  
f
Operands:  
Operation:  
0 f 255  
Operands:  
Operation:  
(f) – (WREG),  
skip if (f) = (WREG)  
(unsigned comparison)  
(f) − (WREG),  
skip if (f) > (WREG)  
(unsigned comparison)  
Status Affected:  
Encoding:  
None  
Status Affected:  
Encoding:  
None  
0011  
0010  
ffff  
ffff  
0011  
0001  
ffff  
ffff  
Compares the contents of data memory  
location 'f' to the contents of the WREG  
by performing an unsigned subtraction.  
Description:  
Compares the contents of data memory  
location 'f' to the contents of WREG by  
performing an unsigned subtraction.  
Description:  
If the contents of 'f' > the contents of  
WREG then the fetched instruction is  
discarded and an NOP is executed  
instead making this a two-cycle instruc-  
tion.  
If 'f' = WREG then the fetched instruc-  
tion is discarded and an NOP is exe-  
cuted instead making this a two-cycle  
instruction.  
Words:  
Cycles:  
1
Words:  
Cycles:  
1
1 (2)  
1 (2)  
Q Cycle Activity:  
Q1  
Q Cycle Activity:  
Q1  
Q2  
Q3  
Q4  
Q2  
Q3  
Q4  
Decode  
Read  
Execute  
NOP  
Decode  
Read  
Execute  
NOP  
register 'f'  
register 'f'  
If skip:  
Q1  
If skip:  
Q1  
Q2  
Q3  
Q4  
Q2  
Q3  
Q4  
Forced NOP  
NOP  
Execute  
NOP  
Forced NOP  
NOP  
Execute  
NOP  
HERE  
NEQUAL  
EQUAL  
CPFSEQ REG  
:
:
Example:  
HERE  
NGREATER  
GREATER  
CPFSGT REG  
:
:
Example:  
Before Instruction  
Before Instruction  
PC Address  
=
=
=
HERE  
PC  
WREG  
=
=
Address (HERE)  
WREG  
REG  
?
?
?
After Instruction  
After Instruction  
If REG  
>
=
WREG;  
Address (GREATER)  
WREG;  
If REG  
=
=
=
WREG;  
Address (EQUAL)  
WREG;  
PC  
If REG  
PC  
PC  
If REG  
PC  
=
Address (NGREATER)  
Address (NEQUAL)  
1996 Microchip Technology Inc.  
DS30412C-page 119  
 复制成功!