參數(shù)資料
型號: 16F84A
廠商: Microchip Technology Inc.
英文描述: CAT 5E CROSSOVER PATCH CORD CABLE BLUE 20 FT
中文描述: 18引腳閃存/ EEPROM的8位微控制器
文件頁數(shù): 55/124頁
文件大小: 1322K
代理商: 16F84A
PIC16F8X
1998 Microchip Technology Inc.
DS30430C-page 55
9.1
Instruction Descriptions
ADDLW
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Add Literal and W
[label ADDLW k
0
k
255
(W) + k
(W)
C, DC, Z
11
111x
kkkk
kkkk
The contents of the W register are
added to the eight bit literal 'k' and the
result is placed in the W register
.
1
1
Q1
Q2
Words:
Cycles:
Q Cycle Activity:
Q3
Q4
Decode
Read
literal 'k'
Process
data
Write to
W
Example:
ADDLW
0x15
Before Instruction
W
=
0x10
After Instruction
W
=
0x25
ADDWF
Syntax:
Operands:
Add W and f
[label ADDWF f,d
0
f
127
d
∈ [0,1]
(W) + (f)
(destination)
C, DC, Z
Operation:
Status Affected:
Encoding:
Description:
00
0111
dfff
ffff
Add the contents of the W register with
register 'f'. If 'd' is 0 the result is stored
in the W register. If 'd' is 1 the result is
stored back in register 'f'
.
1
1
Q1
Q2
Words:
Cycles:
Q Cycle Activity:
Q3
Q4
Decode
Read
register
'f'
Process
data
Write to
destination
Example
ADDWF
FSR, 0
Before Instruction
W
FSR =
=
0x17
0xC2
After Instruction
W
FSR =
=
0xD9
0xC2
ANDLW
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
AND Literal with W
[label ANDLW k
0
k
255
(W) .AND. (k)
(W)
Z
11
1001
kkkk
kkkk
The contents of W register are
AND’ed with the eight bit literal 'k'. The
result is placed in the W register
.
1
1
Q1
Q2
Words:
Cycles:
Q Cycle Activity:
Q3
Q4
Decode
Read
literal "k"
Process
data
Write to
W
Example
ANDLW
0x5F
Before Instruction
W
=
0xA3
After Instruction
W
=
0x03
ANDWF
Syntax:
Operands:
AND W with f
[label ANDWF f,d
0
f
127
d
∈ [0,1]
(W) .AND. (f)
(destination)
Z
Operation:
Status Affected:
Encoding:
Description:
00
0101
dfff
ffff
AND the W register with register 'f'. If 'd'
is 0 the result is stored in the W regis-
ter. If 'd' is 1 the result is stored back in
register 'f'
.
1
1
Q1
Q2
Words:
Cycles:
Q Cycle Activity:
Q3
Q4
Decode
Read
register
'f'
Process
data
Write to
destination
Example
ANDWF
FSR, 1
Before Instruction
W
FSR =
=
0x17
0xC2
After Instruction
W
FSR =
=
0x17
0x02
相關(guān)PDF資料
PDF描述
16F871 CAT 5E CROSSOVER PATCH CORD CABLE GREEN 6 FT
16F872 CAT 5E CROSSOVER PATCH CORD CABLE GREEN 10 FT
16F876A 28/40-pin Enhanced FLASH Microcontrollers
16F876 CAT 5E CROSSOVER, GREEN 15 FT PATCH CABLE
16F877 CAT 5E CROSSOVER PATCH CORD CABLE GREEN 20 FT
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
16F870 制造商:MICROCHIP 制造商全稱:Microchip Technology 功能描述:28/40-Pin 8-Bit CMOS FLASH Microcontrollers
16F871 制造商:MICROCHIP 制造商全稱:Microchip Technology 功能描述:28/40-Pin 8-Bit CMOS FLASH Microcontrollers
16F872 制造商:MICROCHIP 制造商全稱:Microchip Technology 功能描述:28-Pin, 8-Bit CMOS FLASH Microcontroller
16F876 制造商:MICROCHIP 制造商全稱:Microchip Technology 功能描述:28/40-pin 8-Bit CMOS FLASH Microcontrollers
16F876A 制造商:MICROCHIP 制造商全稱:Microchip Technology 功能描述:28/40-pin Enhanced FLASH Microcontrollers