參數(shù)資料
型號: PIC16C505
廠商: Microchip Technology Inc.
英文描述: 14-Pin, 8-Bit CMOS Microcontroller(每個I/O口有25mA驅(qū)動/吸收電流,12個I/O口,帶WDT的微控制器)
中文描述: 14引腳,8位CMOS微控制器(每個的I / O口有25毫安驅(qū)動/吸收電流,12個的I / O口,帶看門狗的微控制器)
文件頁數(shù): 44/80頁
文件大?。?/td> 617K
代理商: PIC16C505
PIC16C505
DS40192A-page 44
Preliminary
1998 Microchip Technology Inc.
COMF
Syntax:
Operands:
Complement f
[ label COMF f,d
0
f
31
d
[0,1]
(f)
(dest)
Z
Operation:
Status Affected:
Encoding:
Description:
0010
01df
ffff
The contents of register 'f' are comple-
mented. 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:
Before Instruction
REG1
After Instruction
REG1
W
COMF
REG1,0
=
0x13
=
=
0x13
0xEC
DECF
Syntax:
Operands:
Decrement f
[ label DECF f,d
0
f
31
d
[0,1]
(f) – 1
(dest)
Z
Operation:
Status Affected:
Encoding:
Description:
0000
11df
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
Words:
Cycles:
Example:
Before Instruction
CNT
Z
After Instruction
CNT
Z
DECF CNT,
1
=
=
0x01
0
=
=
0x00
1
DECFSZ
Syntax:
Operands:
Decrement f, Skip if 0
[ label DECFSZ f,d
0
f
31
d
[0,1]
(f) – 1
d; skip if result = 0
None
Operation:
Status Affected:
Encoding:
Description:
0010
11df
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 0, the next instruction,
which is already fetched, is discarded
and an NOP is executed instead mak-
ing it a two cycle instruction.
1
1(2)
Words:
Cycles:
Example:
HERE DECFSZ CNT, 1
GOTO LOOP
CONTINUE
Before Instruction
PC
=
address
After Instruction
CNT
=
CNT - 1;
if CNT
=
0,
PC
=
address
(CONTINUE)
;
if CNT
0,
PC
=
address
(HERE+1)
(HERE)
GOTO
Syntax:
Operands:
Operation:
Unconditional Branch
[ label GOTO k
0
k
511
k
PC<8:0>;
STATUS<6:5>
PC<10:9>
None
Status Affected:
Encoding:
Description:
101k
kkkk
kkkk
GOTO
is an unconditional branch. The
9-bit immediate value is loaded into PC
bits <8:0>. The upper bits of PC are
loaded from STATUS<6:5>.
GOTO
is a
two cycle instruction.
1
2
Words:
Cycles:
Example:
After Instruction
PC =
GOTO THERE
address
(THERE)
相關(guān)PDF資料
PDF描述
PIC16C54C EPROM/ROM-Based 8-Bit CMOS Microcontroller(18引腳、12個I/O端口、512位EPROM/ROM的8位CMOS微控制器)
PIC16C54 EPROM/ROM-Based 8-Bit CMOS Microcontroller Series(每個I/O口有20mA吸收,25mA驅(qū)動,12個I/O,2.5V的微控制器)
PIC16CR54B EPROM/ROM-Based 8-Bit CMOS Microcontroller Series(每個I/O口有20mA吸收,25mA驅(qū)動,12個I/O,2.5V的微控制器)
PIC16CR56A EPROM/ROM-Based 8-Bit CMOS Microcontroller Series(每個I/O有20mA吸收/25mA驅(qū)動,12個I/O,2.5V的微控制器)
PIC16CR57B EPROM/ROM-Based 8-Bit CMOS Microcontroller Series(每個I/O有20mA吸收/25mA驅(qū)動,20個I/O,2.5V的微控制器)
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
PIC16C505/JW 功能描述:8位微控制器 -MCU 1.5KB 72 RAM 12 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
PIC16C505-04/P 功能描述:8位微控制器 -MCU 1.5KB 72 RAM 12 I/O 4MHz PDIP14 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
PIC16C505-04/P 制造商:Microchip Technology Inc 功能描述:IC 8BIT CMOS MCU (TUBE 30) 16C505 制造商:Microchip Technology Inc 功能描述:IC 8BIT CMOS MCU 16C505 DIP14
PIC16C505-04/SL 功能描述:8位微控制器 -MCU 1.5KB 72 RAM 12 I/O 4MHz SOIC14 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
PIC16C505-04/SL 制造商:Microchip Technology Inc 功能描述:8BIT CMOS MCU SMD 16C505 SOIC14