PIC12F609-I/PQTP MICROCHIP [Microchip Technology], PIC12F609-I/PQTP Datasheet - Page 120

no-image

PIC12F609-I/PQTP

Manufacturer Part Number
PIC12F609-I/PQTP
Description
8-Pin Flash-Based, 8-Bit CMOS Microcontrollers
Manufacturer
MICROCHIP [Microchip Technology]
Datasheet
PIC12F609/615/12HV609/615
MOVF
Syntax:
Operands:
Operation:
Status Affected:
Description:
Words:
Cycles:
Example:
MOVLW
Syntax:
Operands:
Operation:
Status Affected: None
Description:
Words:
Cycles:
Example:
DS41302A-page 118
Move literal to W
[ label ]
0
k
The eight-bit literal ‘k’ is loaded into
W register. The “don’t cares” will
assemble as ‘0’s.
1
1
After Instruction
Move f
[ label ]
0
d
(f)
Z
The contents of register ‘f’ is
moved to a destination dependent
upon the status of ‘d’. If d = 0,
destination is W register. If d = 1,
the destination is file register ‘f’
itself. d = 1 is useful to test a file
register since Status flag Z is
affected.
1
1
After Instruction
MOVLW
MOVF
k
(W)
f
[0,1]
(dest)
255
127
W
MOVLW k
W
register
Z
MOVF f,d
0x5A
FSR, 0
=
=
=
0x5A
1
value in FSR
Preliminary
MOVWF
Syntax:
Operands:
Operation:
Status Affected:
Description:
Words:
Cycles:
Example:
NOP
Syntax:
Operands:
Operation:
Status Affected:
Description:
Words:
Cycles:
Example:
Move W to f
[ label ]
0
(W)
None
Move data from W register to
register ‘f’.
1
1
Before Instruction
After Instruction
No Operation
[ label ]
None
No operation
None
No operation.
1
1
MOVW
F
NOP
f
© 2006 Microchip Technology Inc.
127
(f)
OPTION =
W
OPTION =
W
MOVWF
NOP
OPTION
=
=
f
0xFF
0x4F
0x4F
0x4F

Related parts for PIC12F609-I/PQTP