PIC17C42 Microchip Technology, PIC17C42 Datasheet - Page 128

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
PIC17C4X
MOVPF
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Q Cycle Activity:
Example:
DS30412C-page 128
Before Instruction
After Instruction
Decode
REG1
REG2
REG1
REG2
Q1
register 'p'
Move p to f
[ label ]
0
0
(p)
Move data from data memory location
'p' to data memory location 'f'. Location
'f' can be anywhere in the 256 byte data
space (00h to FFh) while 'p' can be 00h
to 1Fh.
Either 'p' or 'f' can be WREG (a useful
special situation).
MOVPF is particularly useful for transfer-
ring a peripheral register (e.g. the timer
or an I/O port) to a data memory loca-
tion. Both 'f' and 'p' can be indirectly
addressed.
1
1
MOVPF
Z
Read
010p
Q2
=
=
=
=
f
p
(f)
255
31
0x11
0x33
0x11
0x11
MOVPF p,f
REG1, REG2
pppp
Execute
Q3
ffff
register 'f'
Write
Q4
ffff
MOVWF
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Q Cycle Activity:
Example:
Before Instruction
After Instruction
Decode
WREG
REG
WREG
REG
Q1
=
=
=
=
register 'f'
Move WREG to f
[ label ]
0
(WREG)
None
Move data from WREG to register 'f'.
Location 'f' can be anywhere in the 256
word data space.
1
1
MOVWF
Read
0000
Q2
0x4F
0xFF
0x4F
0x4F
f
1996 Microchip Technology Inc.
255
MOVWF
0001
REG
(f)
Execute
Q3
ffff
f
register 'f'
Write
Q4
ffff

Related parts for PIC17C42