PIC12F675ISN Microchip Technology, PIC12F675ISN Datasheet - Page 76

no-image

PIC12F675ISN

Manufacturer Part Number
PIC12F675ISN
Description
8-Pin FLASH-Based 8-Bit CMOS Microcontrollers
Manufacturer
Microchip Technology
Datasheet
PIC12F629/675
MOVF
Syntax:
Operands:
Operation:
Status Affected:
Description:
MOVLW
Syntax:
Operands:
Operation:
Status Affected:
Description:
MOVWF
Syntax:
Operands:
Operation:
Status Affected:
Description:
DS41190C-page 74
0 ≤ f ≤ 127
(f) → (destination)
Move f
[ label ]
d ∈ [0,1]
Z
The contents of register f are
moved to a destination dependant
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.
Move Literal to W
[ label ]
0 ≤ k ≤ 255
k → (W)
None
The eight-bit literal 'k' is loaded
into W register. The don’t cares
will assemble as 0’s.
Move W to f
[ label ]
0 ≤ f ≤ 127
(W) → (f)
None
Move data from W register to
register 'f'.
MOVF f,d
MOVLW k
MOVWF
f
NOP
Syntax:
Operands:
Operation:
Status Affected:
Description:
RETFIE
Syntax:
Operands:
Operation:
Status Affected:
RETLW
Syntax:
Operands:
Operation:
Status Affected:
Description:
No Operation
[ label ]
None
No operation
None
No operation.
Return from Interrupt
[ label ]
None
TOS → PC,
1 → GIE
None
Return with Literal in W
[ label ]
0 ≤ k ≤ 255
k → (W);
TOS → PC
None
The W register is loaded with the
eight-bit literal 'k'. The program
counter is loaded from the top of
the stack (the return address).
This is a two-cycle instruction.
 2003 Microchip Technology Inc.
NOP
RETFIE
RETLW k

Related parts for PIC12F675ISN