欢迎访问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文件第125页浏览型号PIC17LC42-16I/JW的Datasheet PDF文件第126页浏览型号PIC17LC42-16I/JW的Datasheet PDF文件第127页浏览型号PIC17LC42-16I/JW的Datasheet PDF文件第128页浏览型号PIC17LC42-16I/JW的Datasheet PDF文件第130页浏览型号PIC17LC42-16I/JW的Datasheet PDF文件第131页浏览型号PIC17LC42-16I/JW的Datasheet PDF文件第132页浏览型号PIC17LC42-16I/JW的Datasheet PDF文件第133页  
PIC17C4X  
MULLW  
Multiply Literal with WREG  
MULWF  
Multiply WREG with f  
Syntax:  
[ label ] MULLW  
k
Syntax:  
[ label ] MULWF  
f
Operands:  
Operation:  
0 k 255  
Operands:  
Operation:  
0 f 255  
(k x WREG) PRODH:PRODL  
(WREG x f) PRODH:PRODL  
Status Affected: None  
Status Affected: None  
1011  
1100  
kkkk  
kkkk  
0011  
0100  
ffff  
ffff  
Encoding:  
Encoding:  
An unsigned multiplication is carried  
out between the contents of WREG  
and the 8-bit literal 'k'. The 16-bit  
result is placed in PRODH:PRODL  
register pair. PRODH contains the  
high byte.  
An unsigned multiplication is carried  
out between the contents of WREG  
and the register file location 'f'. The  
16-bit result is stored in the  
PRODH:PRODL register pair.  
PRODH contains the high byte.  
Description:  
Description:  
WREG is unchanged.  
Both WREG and 'f' are unchanged.  
None of the status flags are affected.  
None of the status flags are affected.  
Note that neither overflow nor carry  
is possible in this operation. A zero  
result is possible but not detected.  
Note that neither overflow nor carry  
is possible in this operation. A zero  
result is possible but not detected.  
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  
Decode  
Read  
Execute  
Write  
literal 'k'  
registers  
PRODH:  
PRODL  
register 'f'  
registers  
PRODH:  
PRODL  
MULLW  
0xC4  
MULWF  
REG  
Example:  
Example:  
Before Instruction  
Before Instruction  
WREG  
PRODH  
PRODL  
=
=
=
0xE2  
?
?
WREG  
REG  
PRODH  
PRODL  
=
=
=
=
0xC4  
0xB5  
?
?
After Instruction  
WREG  
After Instruction  
WREG  
=
=
=
0xC4  
0xAD  
0x08  
PRODH  
PRODL  
=
=
=
=
0xC4  
0xB5  
0x8A  
0x94  
REG  
PRODH  
PRODL  
Note: This instruction is not available in the  
PIC17C42 device.  
Note: This instruction is not available in the  
PIC17C42 device.  
1996 Microchip Technology Inc.  
DS30412C-page 129  
 复制成功!