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

PIC16C711T-20P 查看數據表(PDF) - Microchip Technology

零件编号
产品描述 (功能)
生产厂家
PIC16C711T-20P
Microchip
Microchip Technology 
PIC16C711T-20P Datasheet PDF : 176 Pages
First Prev 71 72 73 74 75 76 77 78 79 80 Next Last
PIC16C71X
IORWF
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Q Cycle Activity:
Inclusive OR W with f
[ label ] IORWF f,d
0 f 127
d [0,1]
(W) .OR. (f) (dest)
Z
00 0100 dfff ffff
Inclusive OR the W register with regis-
ter 'f'. If 'd' is 0 the result is placed in
the W register. If 'd' is 1 the result is
placed back in register 'f'.
1
1
Q1
Q2
Q3
Q4
Decode
Read
register
'f'
Process
data
Write to
dest
Example
IORWF
RESULT, 0
Before Instruction
RESULT =
W
=
After Instruction
RESULT =
W
=
Z
=
0x13
0x91
0x13
0x93
1
MOVF
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Q Cycle Activity:
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 sta-
tus of d. If d = 0, destination is W reg-
ister. 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
Q1
Q2
Q3
Q4
Decode
Read
register
'f'
Process
data
Write to
dest
Example
MOVF FSR, 0
After Instruction
W = value in FSR register
Z =1
DS30272A-page 78
MOVLW
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Q Cycle Activity:
Move Literal to W
[ label ] MOVLW k
0 k 255
k (W)
None
11 00xx kkkk kkkk
The eight bit literal 'k' is loaded into W
register. The don’t cares will assemble
as 0’s.
1
1
Q1
Q2
Q3
Q4
Decode Read Process Write to
literal 'k' data
W
Example
MOVLW 0x5A
After Instruction
W = 0x5A
MOVWF
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Q Cycle Activity:
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
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
© 1997 Microchip Technology Inc.

Share Link: 

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