欢迎访问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文件第137页浏览型号PIC17LC42-16I/JW的Datasheet PDF文件第138页浏览型号PIC17LC42-16I/JW的Datasheet PDF文件第139页浏览型号PIC17LC42-16I/JW的Datasheet PDF文件第140页浏览型号PIC17LC42-16I/JW的Datasheet PDF文件第142页浏览型号PIC17LC42-16I/JW的Datasheet PDF文件第143页浏览型号PIC17LC42-16I/JW的Datasheet PDF文件第144页浏览型号PIC17LC42-16I/JW的Datasheet PDF文件第145页  
PIC17C4X  
Exclusive OR Literal with  
WREG  
XORWF  
Syntax:  
Exclusive OR WREG with f  
[ label ] XORWF f,d  
0 f 255  
XORLW  
Syntax:  
[ label ] XORLW k  
Operands:  
d
[0,1]  
Operands:  
Operation:  
Status Affected:  
Encoding:  
0 k 255  
Operation:  
(WREG) .XOR. (f) → (dest)  
(WREG) .XOR. k → (WREG)  
Status Affected:  
Encoding:  
Z
Z
0000  
110d  
ffff  
ffff  
1011  
0100  
kkkk  
kkkk  
Exclusive OR the contents of WREG  
with register 'f'. If 'd' is 0 the result is  
stored in WREG. If 'd' is 1 the result is  
stored back in the register 'f'.  
Description:  
The contents of WREG are XOR’ed  
with the 8-bit literal 'k'. The result is  
placed in WREG.  
Description:  
Words:  
Cycles:  
1
1
Words:  
Cycles:  
1
1
Q Cycle Activity:  
Q1  
Q Cycle Activity:  
Q1  
Q2  
Q3  
Q4  
Q2  
Q3  
Q4  
Decode  
Read  
literal 'k'  
Execute  
Write to  
WREG  
Decode  
Read  
Execute  
Write to  
register 'f'  
destination  
XORLW 0xAF  
Example:  
XORWF  
REG, 1  
Before Instruction  
Example:  
WREG  
= 0xB5  
Before Instruction  
After Instruction  
REG  
WREG  
=
=
0xAF  
0xB5  
WREG  
=
0x1A  
After Instruction  
REG  
WREG  
=
=
0x1A  
0xB5  
1996 Microchip Technology Inc.  
DS30412C-page 141  
 复制成功!