PIC12F635-E/MD MICROCHIP [Microchip Technology], PIC12F635-E/MD Datasheet - Page 156

no-image

PIC12F635-E/MD

Manufacturer Part Number
PIC12F635-E/MD
Description
8/14-Pin, Flash-Based 8-Bit CMOS Microcontrollers with nanoWatt Technology
Manufacturer
MICROCHIP [Microchip Technology]
Datasheet
PIC12F635/PIC16F636/639
MOVF
Syntax:
Operands:
Operation:
Status Affected:
Description:
Words:
Cycles:
Example:
MOVLW
Syntax:
Operands:
Operation:
Status Affected: None
Description:
Words:
Cycles:
Example:
DS41232D-page 154
0
The eight-bit literal ‘k’ is loaded into
1
Move literal to W
[ label ]
k
W register. The “don’t cares” will
assemble as ‘0’s.
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
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
© 2007 Microchip Technology Inc.
127
(f)
OPTION =
W
OPTION =
W
MOVWF
NOP
OPTION
=
=
f
0xFF
0x4F
0x4F
0x4F

Related parts for PIC12F635-E/MD