參數(shù)資料
型號: PIC16LC715T-04/SS
元件分類: 微控制器/微處理器
英文描述: 8-BIT, OTPROM, 4 MHz, RISC MICROCONTROLLER, PDSO20
封裝: 0.209 INCH, PLASTIC, SSOP-20
文件頁數(shù): 151/177頁
文件大小: 1650K
代理商: PIC16LC715T-04/SS
1997 Microchip Technology Inc.
DS30272A-page 75
PIC16C71X
COMF
Complement f
Syntax:
[
label ] COMF
f,d
Operands:
0
≤ f ≤ 127
d
∈ [0,1]
Operation:
(f)
→ (dest)
Status Affected:
Z
Encoding:
00
1001
dfff
ffff
Description:
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'.
Words:
1
Cycles:
1
Q Cycle Activity:
Q1
Q2
Q3
Q4
Decode
Read
register
'f'
Process
data
Write to
dest
Example
COMF
REG1,0
Before Instruction
REG1
=
0x13
After Instruction
REG1
=
0x13
W
=
0xEC
DECF
Decrement f
Syntax:
[
label] DECF f,d
Operands:
0
≤ f ≤ 127
d
∈ [0,1]
Operation:
(f) - 1
→ (dest)
Status Affected:
Z
Encoding:
00
0011
dfff
ffff
Description:
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'
.
Words:
1
Cycles:
1
Q Cycle Activity:
Q1
Q2
Q3
Q4
Decode
Read
register
'f'
Process
data
Write to
dest
Example
DECF
CNT, 1
Before Instruction
CNT
=
0x01
Z
=
0
After Instruction
CNT
=
0x00
Z
=
1
DECFSZ
Decrement f, Skip if 0
Syntax:
[
label ] DECFSZ f,d
Operands:
0
≤ f ≤ 127
d
∈ [0,1]
Operation:
(f) - 1
→ (dest);
skip if result = 0
Status Affected:
None
Encoding:
00
1011
dfff
ffff
Description:
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 2TCY
instruction.
Words:
1
Cycles:
1(2)
Q Cycle Activity:
Q1
Q2
Q3
Q4
Decode
Read
register
'f'
Process
data
Write to
dest
If Skip:
(2nd Cycle)
Q1
Q2
Q3
Q4
NOP
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
相關PDF資料
PDF描述
PIC16LC77-20I/TQ 8-BIT, OTPROM, 20 MHz, RISC MICROCONTROLLER, PQFP44
PIC16LF1828-E/ML 8-BIT, FLASH, 32 MHz, RISC MICROCONTROLLER, PQCC20
PIC16LF818T-I/SS 8-BIT, FLASH, 10 MHz, RISC MICROCONTROLLER, PDSO20
PIC16LF877T-20/PT 8-BIT, FLASH, 20 MHz, RISC MICROCONTROLLER, PQFP44
PIC18F242T-I/SO 8-BIT, FLASH, 40 MHz, RISC MICROCONTROLLER, PDSO28
相關代理商/技術參數(shù)
參數(shù)描述
PIC16LC716-04/P 功能描述:8位微控制器 -MCU 3.5KB 128 RAM 13 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 安裝風格:SMD/SMT
PIC16LC716-04/SO 功能描述:8位微控制器 -MCU 3.5KB 128 RAM 13 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 安裝風格:SMD/SMT
PIC16LC716-04/SS 功能描述:8位微控制器 -MCU 3.5KB 128 RAM 13 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 安裝風格:SMD/SMT
PIC16LC716-04I/P 功能描述:8位微控制器 -MCU 3.5KB 128 RAM 13 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 安裝風格:SMD/SMT
PIC16LC716-04I/P 制造商:Microchip Technology Inc 功能描述:IC 8BIT CMOS MCU 16LC716 DIP18