PIC16CR58A Microchip Technology, PIC16CR58A Datasheet - Page 50

no-image

PIC16CR58A

Manufacturer Part Number
PIC16CR58A
Description
ROM-Based 8-Bit CMOS Microcontroller Series
Manufacturer
Microchip Technology
Datasheets

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16CR58A-04/P042
Manufacturer:
MOTOROLA
Quantity:
80
PIC16C5X
MOVF
Syntax:
Operands:
Operation:
Status Affected: Z
Encoding:
Description:
Words:
Cycles:
Example:
MOVLW
Syntax:
Operands:
Operation:
Status Affected: None
Encoding:
Description:
Words:
Cycles:
Example:
DS30453B-page 50
After Instruction
After Instruction
W
W
=
=
Move f
[ label ]
0
d
(f)
The contents of register 'f' is moved to
destination 'd'. If 'd' is 0, destination is
the W register. If 'd' is 1, the destination
is file register 'f'. 'd' is 1 is useful to test
a file register since status flag Z is
affected.
1
1
MOVF
value in FSR register
Move Literal to W
[ label ]
0
k
The eight bit literal 'k' is loaded into the
W register. The don’t cares will assem-
ble as 0s.
1
1
MOVLW
0x5A
0010
1100
f
k
[0,1]
(W)
(dest)
31
255
FSR,
0x5A
MOVF f,d
MOVLW k
00df
kkkk
0
ffff
kkkk
Preliminary
MOVWF
Syntax:
Operands:
Operation:
Status Affected: None
Encoding:
Description:
Words:
Cycles:
Example:
NOP
Syntax:
Operands:
Operation:
Status Affected: None
Encoding:
Description:
Words:
Cycles:
Example:
Before Instruction
After Instruction
TEMP_REG
W
TEMP_REG
W
Move W to f
[ label ]
0
(W)
Move data from the W register to regis-
ter 'f'
1
1
MOVWF
No Operation
[ label ]
None
No operation
No operation.
1
1
NOP
0000
0000
f
.
=
=
=
=
31
(f)
1998 Microchip Technology Inc.
TEMP_REG
0xFF
0x4F
0x4F
0x4F
MOVWF
NOP
001f
0000
ffff
0000
f

Related parts for PIC16CR58A