參數(shù)資料
型號: PIC16F84
廠商: Microchip Technology Inc.
英文描述: 18-pin Flash/EEPROM 8-Bit Microcontrollers
中文描述: 18引腳閃存/ EEPROM的8位微控制器
文件頁數(shù): 61/124頁
文件大?。?/td> 1060K
代理商: PIC16F84
PIC16F8X
1998 Microchip Technology Inc.
DS30430C-page 61
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
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
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描述
PIC16F85 18/20 Pin, 8-Bit CMOS FLASH Microcontroller with Comparators and A/D Product Brief
PIC16F86 18/20 Pin, 8-Bit CMOS FLASH Microcontroller with Comparators and A/D Product Brief
PIC16F873A 28/40-pin Enhanced FLASH Microcontrollers
PIC16F874A 28/40-pin Enhanced FLASH Microcontrollers
PIC16F876A 28/40-pin Enhanced FLASH Microcontrollers
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
PIC16F84-04/P 功能描述:8位微控制器 -MCU 1.75KB 68 RAM 13 I/O 4MHz PDIP18 RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數(shù)據(jù)總線寬度:8 bit 最大時鐘頻率:50 MHz 程序存儲器大小:16 KB 數(shù)據(jù) RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:1.8 V to 3.6 V 工作溫度范圍:- 40 C to + 105 C 封裝 / 箱體:QFN-20 安裝風(fēng)格:SMD/SMT
PIC16F84-04/P 制造商:Microchip Technology Inc 功能描述:IC 8-BIT FLASH MCU
PIC16F84-04/SO 功能描述:8位微控制器 -MCU 1.75KB 68 RAM 13 I/O 4MHz SOIC18 RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數(shù)據(jù)總線寬度:8 bit 最大時鐘頻率:50 MHz 程序存儲器大小:16 KB 數(shù)據(jù) RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:1.8 V to 3.6 V 工作溫度范圍:- 40 C to + 105 C 封裝 / 箱體:QFN-20 安裝風(fēng)格:SMD/SMT
PIC16F84-04/SO 制造商:Microchip Technology Inc 功能描述:IC SM 8-BIT FLASH MCU
PIC16F84-04I/P 功能描述:8位微控制器 -MCU 1.75KB 68 RAM 13 I/O 4MHz Ind Temp PDIP18 RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數(shù)據(jù)總線寬度:8 bit 最大時鐘頻率:50 MHz 程序存儲器大小:16 KB 數(shù)據(jù) RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:1.8 V to 3.6 V 工作溫度范圍:- 40 C to + 105 C 封裝 / 箱體:QFN-20 安裝風(fēng)格:SMD/SMT