欢迎访问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文件第109页浏览型号PIC17LC42-16I/JW的Datasheet PDF文件第110页浏览型号PIC17LC42-16I/JW的Datasheet PDF文件第111页浏览型号PIC17LC42-16I/JW的Datasheet PDF文件第112页浏览型号PIC17LC42-16I/JW的Datasheet PDF文件第114页浏览型号PIC17LC42-16I/JW的Datasheet PDF文件第115页浏览型号PIC17LC42-16I/JW的Datasheet PDF文件第116页浏览型号PIC17LC42-16I/JW的Datasheet PDF文件第117页  
PIC17C4X  
ADDWFC  
Syntax:  
ADD WREG and Carry bit to f  
[ label ] ADDWFC f,d  
0 f 255  
ANDLW  
And Literal with WREG  
Syntax:  
[ label ] ANDLW  
k
Operands:  
Operands:  
Operation:  
Status Affected:  
Encoding:  
Description:  
0 k 255  
d
[0,1]  
(WREG) .AND. (k) (WREG)  
Operation:  
(WREG) + (f) + C (dest)  
Z
Status Affected:  
Encoding:  
OV, C, DC, Z  
1011  
0101  
kkkk  
kkkk  
0001  
000d  
ffff  
ffff  
The contents of WREG are AND’ed with  
the 8-bit literal 'k'.The result is placed in  
WREG.  
Add WREG, the Carry Flag and data  
memory location 'f'. If 'd' is 0, the result is  
placed in WREG. If 'd' is 1, the result is  
placed in data memory location 'f'.  
Description:  
Words:  
Cycles:  
1
1
Words:  
Cycles:  
1
1
Q Cycle Activity:  
Q1  
Q2  
Q3  
Q4  
Q Cycle Activity:  
Q1  
Decode  
Read literal  
'k'  
Execute  
Write to  
WREG  
Q2  
Q3  
Q4  
Decode  
Read  
register 'f'  
Execute  
Write to  
destination  
ANDLW  
0x5F  
Example:  
Before Instruction  
ADDWFC  
REG  
0
Example:  
WREG  
=
0xA3  
0x03  
Before Instruction  
After Instruction  
Carry bit =  
1
WREG  
=
REG  
WREG  
=
=
0x02  
0x4D  
After Instruction  
Carry bit =  
0
REG  
WREG  
=
=
0x02  
0x50  
1996 Microchip Technology Inc.  
DS30412C-page 113  
 复制成功!