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

PIC16LC924-08/CL データシートの表示(PDF) - Microchip Technology

部品番号
コンポーネント説明
メーカー
PIC16LC924-08/CL
Microchip
Microchip Technology 
PIC16LC924-08/CL Datasheet PDF : 189 Pages
First Prev 121 122 123 124 125 126 127 128 129 130 Next Last
PIC16C9XX
MOVF
Move f
Syntax:
[ label ] MOVF f,d
Operands:
0 f 127
d [0,1]
Operation:
(f) (destination)
Status Affected: Z
Encoding:
00
1000 dfff ffff
Description:
The contents of register f is 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 regis-
ter since status flag Z is affected.
Words:
1
Cycles:
1
Q Cycle Activity:
Q1 Q2 Q3
Q4
Decode
Read
register
'f'
Process Write to
data destination
Example
MOVF FSR, 0
After Instruction
W = value in FSR register
Z =1
MOVWF
Move W to f
Syntax:
[ label ] MOVWF f
Operands:
0 f 127
Operation:
(W) (f)
Status Affected: None
Encoding:
00 0000 1fff ffff
Description:
Move data from W register to register
'f'.
Words:
1
Cycles:
1
Q Cycle Activity:
Q1
Q2 Q3
Q4
Decode
Read
register
'f'
Process Write
data register 'f'
Example
MOVWF OPTION_REG
Before Instruction
OPTION =
W
=
After Instruction
OPTION =
W
=
0xFF
0x4F
0x4F
0x4F
MOVLW
Move Literal to W
Syntax:
[ label ] MOVLW k
Operands:
0 k 255
Operation:
k (W)
Status Affected: None
Encoding:
11
00xx kkkk kkkk
Description:
The eight bit literal 'k' is loaded into W
register. The don’t cares will assemble
as 0’s.
Words:
1
Cycles:
1
Q Cycle Activity:
Q1
Q2 Q3
Q4
Decode Read Process Write to
literal 'k' data
W
Example
MOVLW 0x5A
After Instruction
W = 0x5A
DS30444E - page 130
© 1997 Microchip Technology Inc.

Share Link: 

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