PIC12F609-H/MD MICROCHIP [Microchip Technology], PIC12F609-H/MD Datasheet - Page 134

no-image

PIC12F609-H/MD

Manufacturer Part Number
PIC12F609-H/MD
Description
8-Pin, Flash-Based 8-Bit CMOS Microcontrollers
Manufacturer
MICROCHIP [Microchip Technology]
Datasheet
PIC12F609/615/617/12HV609/615
MOVF
Syntax:
Operands:
Operation:
Status Affected:
Description:
Words:
Cycles:
Example:
MOVLW
Syntax:
Operands:
Operation:
Status Affected: None
Description:
Words:
Cycles:
Example:
DS41302D-page 134
Move literal to W
[ label ]
0  k  255
k  (W)
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  f  127
d  [0,1]
(f)  (dest)
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
W
MOVLW k
W
register
Z
MOVF f,d
0x5A
FSR, 0
=
=
=
0x5A
1
value in FSR
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  f  127
(W)  (f)
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
 2010 Microchip Technology Inc.
OPTION =
W
OPTION =
W
MOVWF
NOP
OPTION
=
=
f
0xFF
0x4F
0x4F
0x4F

Related parts for PIC12F609-H/MD