PIC17C42 Microchip Technology, PIC17C42 Datasheet - Page 129

no-image

PIC17C42

Manufacturer Part Number
PIC17C42
Description
High-Performance 8-Bit CMOS EPROM/ROM Microcontroller
Manufacturer
Microchip Technology
Datasheets

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC17C42-16/JW
Manufacturer:
AD
Quantity:
12
Part Number:
PIC17C42A-16/L
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC17C42A-16/PQ
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC17C42A-16/PQ
Manufacturer:
MICROCH
Quantity:
20 000
Part Number:
PIC17C42A-16/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC17C42A-16E/L
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC17C42A-16E/PQ
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC17C42A-25/P
Manufacturer:
MICROCLOCK
Quantity:
20 000
Q Cycle Activity:
MULLW
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example:
1996 Microchip Technology Inc.
Note:
Before Instruction
After Instruction
Decode
Q1
WREG
PRODH
PRODL
WREG
PRODH
PRODL
This instruction is not available in the
PIC17C42 device.
Multiply Literal with WREG
[ label ]
0
(k x WREG)
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.
WREG is unchanged.
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.
1
1
MULLW
None
literal 'k'
Read
1011
Q2
=
=
=
=
=
=
k
255
0xE2
?
?
0xC4
0xAD
0x08
0xC4
MULLW
1100
Execute
Q3
PRODH:PRODL
kkkk
k
registers
PRODH:
PRODL
Write
Q4
kkkk
Q Cycle Activity:
MULWF
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example:
Note:
Before Instruction
After Instruction
Decode
Q1
WREG
REG
PRODH
PRODL
WREG
REG
PRODH
PRODL
This instruction is not available in the
PIC17C42 device.
register 'f'
Multiply WREG with f
[ label ]
0
(WREG x f)
None
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.
Both WREG and 'f' are unchanged.
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.
1
1
MULWF
Read
0011
Q2
=
=
=
=
=
=
=
=
f
255
0xC4
0xB5
?
?
0xC4
0xB5
0x8A
0x94
PIC17C4X
MULWF
REG
0100
Execute
PRODH:PRODL
Q3
DS30412C-page 129
ffff
f
registers
PRODH:
PRODL
Write
Q4
ffff

Related parts for PIC17C42