參數(shù)資料
型號: 16F84A
廠商: Microchip Technology Inc.
英文描述: CAT 5E CROSSOVER PATCH CORD CABLE BLUE 20 FT
中文描述: 18引腳閃存/ EEPROM的8位微控制器
文件頁數(shù): 59/124頁
文件大?。?/td> 1322K
代理商: 16F84A
PIC16F8X
1998 Microchip Technology Inc.
DS30430C-page 59
COMF
Syntax:
Operands:
Complement f
[ label COMF f,d
0
f
127
d
[0,1]
(f)
(destination)
Z
Operation:
Status Affected:
Encoding:
Description:
00
1001
dfff
ffff
The contents of register 'f' are comple-
mented. If 'd' is 0 the result is stored in
W. 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
COMF
REG1,0
Before Instruction
REG1
=
0x13
After Instruction
REG1
W
=
=
0x13
0xEC
DECF
Syntax:
Operands:
Decrement f
[label DECF f,d
0
f
127
d
[0,1]
(f) - 1
(destination)
Z
Operation:
Status Affected:
Encoding:
Description:
00
0011
dfff
ffff
Decrement register 'f'. If 'd' is 0 the
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
DECF CNT, 1
Before Instruction
CNT
Z
=
=
0x01
0
After Instruction
CNT
Z
=
=
0x00
1
DECFSZ
Syntax:
Operands:
Decrement f, Skip if 0
[ label DECFSZ f,d
0
f
127
d
[0,1]
(f) - 1
(destination);
skip if result = 0
None
Operation:
Status Affected:
Encoding:
Description:
00
1011
dfff
ffff
The contents of register 'f' are decre-
mented. If 'd' is 0 the result is placed in the
W register. If 'd' is 1 the result is placed
back in register 'f'.
If the result is 1, the next instruction, is
executed. If the result is 0, then a NOP is
executed instead making it a 2T
CY
instruc-
tion.
1
1(2)
Q1
Q2
Words:
Cycles:
Q Cycle Activity:
Q3
Q4
Decode
Read
register 'f'
Process
data
Write to
destination
If Skip:
(2nd Cycle)
Q1
Q2
Q3
Q4
No-Operat
ion
No-Opera
tion
No-Operat
ion
No-Operati
on
Example
HERE DECFSZ CNT, 1
GOTO LOOP
CONTINUE
Before Instruction
PC
=
address
HERE
After Instruction
CNT
=
CNT - 1
if CNT =
0,
PC
=
address
CONTINUE
if CNT
0,
PC
=
address
HERE+1
相關(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