參數(shù)資料
型號: PIC16F628A
廠商: Microchip Technology Inc.
英文描述: 18-pin Flash-Based 8-Bit CMOS Microcontrollers with nanoWatt Technology(18引腳,基于FLASH的8位CMOS微控制器,使用毫微瓦特技術(shù))
中文描述: 18引腳基于閃存的8位CMOS微控制器與納瓦技術(shù)(18引腳,基于閃存的8位的CMOS微控制器,使用毫微瓦特技術(shù))
文件頁數(shù): 115/168頁
文件大?。?/td> 2756K
代理商: PIC16F628A
2004 Microchip Technology Inc.
Preliminary
DS40044B-page 113
PIC16F627A/628A/648A
15.1
Instruction Descriptions
ADDLW
Add Literal and W
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
[
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
Words:
Cycles:
Example
ADDLW
0x15
Before Instruction
W = 0x10
After Instruction
W = 0x25
ADDWF
Add W and f
Syntax:
Operands:
[
label
] ADDWF f,d
0
f
127
d
∈ [0,1]
(W) + (f)
(dest)
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
Words:
Cycles:
Example
ADDWF
REG1, 0
Before Instruction
W
REG1 = 0xC2
After Instruction
W
REG1 = 0xC2
Z
C
DC
= 0x17
= 0xD9
= 0
= 0
= 0
ANDLW
AND Literal with W
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
[
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
Words:
Cycles:
Example
ANDLW
0x5F
Before Instruction
W = 0xA3
After Instruction
W = 0x03
ANDWF
AND W with f
Syntax:
Operands:
[
label
] ANDWF f,d
0
f
127
d
∈ [0,1]
(W) .AND. (f)
(dest)
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
register. If ‘d’ is 1 the result is stored
back in register ‘f’
.
1
1
Words:
Cycles:
Example
ANDWF
REG1, 1
Before Instruction
W
REG1 = 0xC2
After Instruction
W
REG1 = 0x02
= 0x17
= 0x17
相關(guān)PDF資料
PDF描述
PIC16F687 20-Pin Flash-Based, 8-Bit CMOS Microcontrollers with nanoWatt Technology
PIC16F685 20-Pin Flash-Based, 8-Bit CMOS Microcontrollers with nanoWatt Technology
PIC16F689 20-Pin Flash-Based, 8-Bit CMOS Microcontrollers with nanoWatt Technology
PIC16F690 20-Pin Flash-Based, 8-Bit CMOS Microcontrollers with nanoWatt Technology
PIC16F77 40-Pin 8-Bit CMOS FLASH Microcontrollers(40腳、8位CMOS 閃速微控制器)
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
PIC16F628A-E/ML 功能描述:8位微控制器 -MCU 3.5KB 224 RAM 16 I/O 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
PIC16F628A-E/P 功能描述:8位微控制器 -MCU 3.5KB 224 RAM 16 I/O 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
PIC16F628A-E/SO 功能描述:8位微控制器 -MCU 3.5KB 224 RAM 16 I/O 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
PIC16F628A-E/SS 功能描述:8位微控制器 -MCU 3.5KB 224 RAM 16 I/O 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
PIC16F628A-I/ML 功能描述:8位微控制器 -MCU 3.5KB 224 RAM 16 I/O 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