參數(shù)資料
型號: PIC16LC715
廠商: Microchip Technology Inc.
英文描述: 8-Bit CMOS Microcontrollers with A/D Converter
中文描述: 8位CMOS微控制器與A / D轉(zhuǎn)換器
文件頁數(shù): 83/176頁
文件大?。?/td> 803K
代理商: PIC16LC715
1997 Microchip Technology Inc.
DS30272A-page 83
PIC16C71X
SUBWF
Subtract W from f
Syntax:
Operands:
[ label
0
f
127
d
[0,1]
(f) - (W)
→ (
dest)
C, DC, Z
SUBWF f,d
Operation:
Status Affected:
Encoding:
Description:
00
0010
dfff
ffff
Subtract (2’s complement method) W reg-
ister from 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
dest
Example 1:
SUBWF
Before Instruction
REG1,
1
REG1
W
C
Z
=
=
=
=
3
2
After Instruction
REG1
W
C
Z
=
=
=
=
1
2
1; result is positive
0
Example 2:
Before Instruction
REG1
W
C
Z
=
=
=
=
2
2
After Instruction
REG1
W
C
Z
=
=
=
=
0
2
1; result is zero
1
Example 3:
Before Instruction
REG1
W
C
Z
=
=
=
=
1
2
After Instruction
REG1
W
C
Z
=
=
=
=
0xFF
2
0; result is negative
0
SWAPF
Syntax:
Operands:
Swap Nibbles in f
[ label SWAPF f,d
0
f
127
d
[0,1]
(f<3:0>)
(dest<7:4>),
(f<7:4>)
(dest<3:0>)
None
Operation:
Status Affected:
Encoding:
Description:
00
1110
dfff
ffff
The upper and lower nibbles of regis-
ter 'f' are exchanged. If 'd' is 0 the
result is placed in W register. If 'd' is 1
the result is placed in register 'f'.
1
1
Q1
Q2
Words:
Cycles:
Q Cycle Activity:
Q3
Q4
Decode
Read
register 'f'
Process
data
Write to
dest
Example
SWAPF REG,
0
Before Instruction
REG1
=
0xA5
After Instruction
REG1
W
=
=
0xA5
0x5A
TRIS
Syntax:
Operands:
Operation:
Status Affected: None
Encoding:
Description:
Load TRIS Register
[label
TRIS
5
f
7
(W)
TRIS register f;
f
00
0000
0110
0fff
The instruction is supported for code
compatibility with the PIC16C5X prod-
ucts. Since TRIS registers are read-
able and writable, the user can directly
address them.
1
1
Words:
Cycles:
Example
To maintain upward compatibility
with future PIC16CXX products, do
not use this instruction.
相關(guān)PDF資料
PDF描述
PIC16LC716T 8-Bit CMOS Microcontrollers with A/D Converter and Capture/Compare/PWM
PIC16C712T 8-Bit CMOS Microcontrollers with A/D Converter and Capture/Compare/PWM
PIC16C716T 8-Bit CMOS Microcontrollers with A/D Converter and Capture/Compare/PWM
PIC16LC712T 8-Bit CMOS Microcontrollers with A/D Converter and Capture/Compare/PWM
PIC16LC72 28-Pin 8-Bit CMOS Microcontrollers(28腳8位CMOS微控制器)
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
PIC16LC715-04/P 功能描述:8位微控制器 -MCU 3.5KB 128 RAM 13 I/O RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數(shù)據(jù)總線寬度:8 bit 最大時(shí)鐘頻率: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
PIC16LC715-04/SO 功能描述:8位微控制器 -MCU 3.5KB 128 RAM 13 I/O RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數(shù)據(jù)總線寬度:8 bit 最大時(shí)鐘頻率: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
PIC16LC715-04/SOG 制造商:Microchip Technology 功能描述:MCU 8-bit PIC16 PIC RISC 3.5KB EPROM 3.3V/5V 18-Pin SOIC W Tube
PIC16LC715-04/SS 功能描述:8位微控制器 -MCU 3.5KB 128 RAM 13 I/O RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數(shù)據(jù)總線寬度:8 bit 最大時(shí)鐘頻率: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
PIC16LC715-04E/P 功能描述:8位微控制器 -MCU w/A/D Low Power RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數(shù)據(jù)總線寬度:8 bit 最大時(shí)鐘頻率: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