欢迎访问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文件第108页浏览型号PIC17LC42-16I/JW的Datasheet PDF文件第109页浏览型号PIC17LC42-16I/JW的Datasheet PDF文件第110页浏览型号PIC17LC42-16I/JW的Datasheet PDF文件第111页浏览型号PIC17LC42-16I/JW的Datasheet PDF文件第113页浏览型号PIC17LC42-16I/JW的Datasheet PDF文件第114页浏览型号PIC17LC42-16I/JW的Datasheet PDF文件第115页浏览型号PIC17LC42-16I/JW的Datasheet PDF文件第116页  
PIC17C4X  
ADDLW  
ADD Literal to WREG  
ADDWF  
Syntax:  
ADD WREG to f  
[ label ] ADDWF f,d  
0 f 255  
Syntax:  
[ label ] ADDLW  
k
Operands:  
Operation:  
Status Affected:  
Encoding:  
Description:  
0 k 255  
Operands:  
d
[0,1]  
(WREG) + k (WREG)  
Operation:  
(WREG) + (f) (dest)  
OV, C, DC, Z  
Status Affected:  
Encoding:  
OV, C, DC, Z  
1011  
0001  
kkkk  
kkkk  
0000  
111d  
ffff  
ffff  
The contents of WREG are added to the  
8-bit literal 'k' and the result is placed in  
WREG.  
Add WREG to register 'f'. If 'd' is 0 the  
result is stored in WREG. If 'd' is 1 the  
result is stored back in register 'f'.  
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  
Execute  
Write to  
WREG  
literal 'k'  
Decode  
Read  
Execute  
Write to  
register 'f'  
destination  
ADDLW  
0x15  
Example:  
ADDWF  
REG, 0  
Example:  
Before Instruction  
WREG = 0x10  
Before Instruction  
WREG  
REG  
=
=
0x17  
0xC2  
After Instruction  
WREG = 0x25  
After Instruction  
WREG  
REG  
=
=
0xD9  
0xC2  
DS30412C-page 112  
1996 Microchip Technology Inc.  
 复制成功!