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

PIC16C54-XT/P 参数 Datasheet PDF下载

PIC16C54-XT/P图片预览
型号: PIC16C54-XT/P
PDF下载: 下载PDF文件 查看货源
内容描述: EPROM /基于ROM的8位CMOS微控制器系列 [EPROM/ROM-Based 8-Bit CMOS Microcontroller Series]
分类和应用: 微控制器可编程只读存储器电动程控只读存储器
文件页数/大小: 217 页 / 1555 K
品牌: MICROCHIP [ MICROCHIP ]
 浏览型号PIC16C54-XT/P的Datasheet PDF文件第45页浏览型号PIC16C54-XT/P的Datasheet PDF文件第46页浏览型号PIC16C54-XT/P的Datasheet PDF文件第47页浏览型号PIC16C54-XT/P的Datasheet PDF文件第48页浏览型号PIC16C54-XT/P的Datasheet PDF文件第50页浏览型号PIC16C54-XT/P的Datasheet PDF文件第51页浏览型号PIC16C54-XT/P的Datasheet PDF文件第52页浏览型号PIC16C54-XT/P的Datasheet PDF文件第53页  
PIC16C5X  
INCF  
Increment f  
IORLW  
Inclusive OR literal with W  
Syntax:  
Operands:  
[ label ] INCF f,d  
Syntax:  
[ label ] IORLW k  
0 f 31  
Operands:  
Operation:  
Status Affected:  
Encoding:  
Description:  
0 k 255  
d
[0,1]  
(W) .OR. (k) (W)  
Operation:  
(f) + 1 (dest)  
Z
Status Affected:  
Encoding:  
Z
1101  
kkkk  
kkkk  
0010  
10df  
ffff  
The contents of the W register are  
OR’ed with the eight bit literal 'k'. The  
result is placed in the W register.  
The contents of register 'f' are incre-  
mented. If 'd' is 0 the result is placed in  
the W register. If 'd' is 1 the result is  
placed back in register 'f'.  
Description:  
Words:  
1
Cycles:  
Example:  
1
Words:  
1
1
IORLW 0x35  
Cycles:  
Example:  
Before Instruction  
0x9A  
INCF  
CNT,  
1
W
=
Before Instruction  
After Instruction  
CNT  
=
0xFF  
0
W
=
0xBF  
Z
=
Z
=
0
After Instruction  
CNT  
Z
=
=
0x00  
1
IORWF  
Inclusive OR W with f  
[ label ] IORWF f,d  
0 f 31  
Syntax:  
Operands:  
INCFSZ  
Increment f, Skip if 0  
[ label ] INCFSZ f,d  
0 f 31  
d
[0,1]  
Syntax:  
Operation:  
(W).OR. (f) (dest)  
Operands:  
Status Affected:  
Encoding:  
Z
d
[0,1]  
0001  
00df  
ffff  
Operation:  
(f) + 1 (dest), skip if result = 0  
Inclusive OR the W register with regis-  
ter 'f'. If 'd' is 0 the result is placed in  
the W register. If 'd' is 1 the result is  
placed back in register 'f'.  
Description:  
Status Affected: None  
0011  
11df  
ffff  
Encoding:  
The contents of register 'f' are incre-  
mented. If 'd' is 0 the result is placed in  
the W register. If 'd' is 1 the result is  
placed back in register 'f'.  
Description:  
Words:  
1
1
Cycles:  
Example:  
If the result is 0, then the next instruc-  
tion, which is already fetched, is dis-  
carded and an NOP is executed  
instead making it a two cycle instruc-  
tion.  
IORWF  
RESULT, 0  
Before Instruction  
RESULT  
W
=
0x13  
=
0x91  
After Instruction  
Words:  
1
RESULT  
=
=
=
0x13  
0x93  
0
Cycles:  
Example:  
1(2)  
W
Z
HERE  
INCFSZ  
GOTO  
CNT,  
LOOP  
1
CONTINUE •  
Before Instruction  
PC  
=
address (HERE)  
After Instruction  
CNT  
if CNT  
PC  
if CNT  
PC  
=
=
=
=
CNT + 1;  
0,  
address (CONTINUE);  
0,  
address (HERE +1)  
1998 Microchip Technology Inc.  
Preliminary  
DS30453B-page 49  
 复制成功!