DatasheetQ Logo
Electronic component search and free download site. Transistors,MosFET ,Diode,Integrated circuits

PIC16C558T-IL View Datasheet(PDF) - Microchip Technology

Part Name
Description
Manufacturer
PIC16C558T-IL
Microchip
Microchip Technology 
PIC16C558T-IL Datasheet PDF : 108 Pages
First Prev 61 62 63 64 65 66 67 68 69 70 Next Last
PIC16C55X
MOVF
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example
Move f
[ label ] MOVF f,d
0 f 127
d [0,1]
(f) (dest)
Z
00
1000 dfff ffff
The contents of register f is
moved to a destination dependant
upon the status of d. If d = 0, des-
tination 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
MOVF FSR, 0
After Instruction
W = value in FSR register
Z =1
MOVWF
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example
Move W to f
[ label ] MOVWF f
0 f 127
(W) (f)
None
00
0000 1fff ffff
Move data from W register to register
'f'.
1
1
MOVWF OPTION
Before Instruction
OPTION = 0xFF
W
= 0x4F
After Instruction
OPTION = 0x4F
W
= 0x4F
NOP
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example
No Operation
[ label ] NOP
None
No operation
None
00
0000
No operation.
1
1
NOP
0xx0
0000
OPTION
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example
Load Option Register
[ label ] OPTION
None
(W) OPTION
None
00
0000 0110 0010
The contents of the W register are
loaded in the OPTION register. This
instruction is supported for code
compatibility with PIC16C5X products.
Since OPTION is a readable/writable
register, the user can directly
address it.
1
1
To maintain upward compatibility
with future PIC MCU products, do
not use this instruction.
1996-2013 Microchip Technology Inc.
Preliminary
DS40143E-page 61

Share Link: 

datasheetq.com  [ Privacy Policy ]Request Datasheet ] [ Contact Us ]