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

PIC16C57C-04I/SO 参数 Datasheet PDF下载

PIC16C57C-04I/SO图片预览
型号: PIC16C57C-04I/SO
PDF下载: 下载PDF文件 查看货源
内容描述: 基于ROM的8位CMOS微控制器系列 [ROM-Based 8-Bit CMOS Microcontroller Series]
分类和应用: 微控制器和处理器外围集成电路光电二极管PC可编程只读存储器时钟
文件页数/大小: 84 页 / 641 K
品牌: MICROCHIP [ MICROCHIP ]
 浏览型号PIC16C57C-04I/SO的Datasheet PDF文件第43页浏览型号PIC16C57C-04I/SO的Datasheet PDF文件第44页浏览型号PIC16C57C-04I/SO的Datasheet PDF文件第45页浏览型号PIC16C57C-04I/SO的Datasheet PDF文件第46页浏览型号PIC16C57C-04I/SO的Datasheet PDF文件第48页浏览型号PIC16C57C-04I/SO的Datasheet PDF文件第49页浏览型号PIC16C57C-04I/SO的Datasheet PDF文件第50页浏览型号PIC16C57C-04I/SO的Datasheet PDF文件第51页  
PIC16CR54C  
SWAPF  
Syntax:  
Swap Nibbles in f  
[ label ] SWAPF f,d  
0 f 31  
XORLW  
Exclusive OR literal with W  
Syntax:  
[label] XORLW  
0 k 255  
k
Operands:  
Operands:  
d
[0,1]  
Operation:  
(W) .XOR. k → (W)  
Z
Operation:  
(f<3:0>) (dest<7:4>);  
(f<7:4>) (dest<3:0>)  
Status Affected:  
Encoding:  
1111  
kkkk  
kkkk  
Status Affected: None  
The contents of the W register are  
XOR’ed with the eight bit literal 'k'. The  
result is placed in the W register.  
Description:  
0011  
10df  
ffff  
Encoding:  
The upper and lower nibbles of register  
'f' are exchanged. If 'd' is 0 the result is  
placed in W register. If 'd' is 1 the result  
is placed in register 'f'.  
Description:  
Words:  
1
Cycles:  
Example:  
1
Words:  
Cycles:  
Example  
1
1
XORLW 0xAF  
Before Instruction  
0xB5  
W
=
SWAPF  
REG1,  
0
After Instruction  
Before Instruction  
REG1  
W
=
0x1A  
=
0xA5  
After Instruction  
REG1  
W
=
=
0xA5  
0X5A  
XORWF  
Exclusive OR W with f  
[ label ] XORWF f,d  
0 f 31  
Syntax:  
Operands:  
TRIS  
Load TRIS Register  
d
[0,1]  
Syntax:  
[ label ] TRIS  
f = 5, 6 or 7  
f
Operation:  
(W) .XOR. (f) → (dest)  
Operands:  
Operation:  
Status Affected:  
Encoding:  
Z
(W) TRIS register f  
0001  
10df  
ffff  
Status Affected: None  
Exclusive OR the contents of the W  
register with register 'f'. If 'd' is 0 the  
result is stored in the W register. If 'd' is  
1 the result is stored back in register 'f'.  
Description:  
0000  
0000  
0fff  
Encoding:  
TRIS register 'f' (f = 5, 6, or 7) is loaded  
with the contents of the W register  
Description:  
Words:  
Cycles:  
Example  
1
1
Words:  
Cycles:  
Example  
1
1
TRIS  
PORTA  
REG,1  
XORWF  
Before Instruction  
Before Instruction  
W
=
0XA5  
0XA5  
REG  
=
0xAF  
0xB5  
W
=
After Instruction  
TRISA  
=
After Instruction  
REG  
W
=
=
0x1A  
0xB5  
1998 Microchip Technology Inc.  
Preliminary  
DS40191A-page 47  
 复制成功!