參數(shù)資料
型號: pic16c621a
廠商: Microchip Technology Inc.
英文描述: EPROM-Based 8-Bit CMOS Microcontroller(8位CMOS微控制器)
中文描述: 存儲器為基礎(chǔ)的8位CMOS微控制器(8位的CMOS微控制器)
文件頁數(shù): 22/112頁
文件大小: 1205K
代理商: PIC16C621A
PIC16C62X(A)
DS30235F-page 22
Preliminary
1997 Microchip Technology Inc.
4.3
PCL and PCLATH
The program counter (PC) is 13-bits wide. The low byte
comes from the PCL register, which is a readable and
writable register. The high byte (PC<12:8>) is not directly
readable or writable and comes from PCLATH. On any
reset, the PC is cleared. Figure 4-12 shows the two
situations for the loading of the PC. The upper example in
the figure shows how the PC is loaded on a write to PCL
(PCLATH<4:0>
PCH). The lower example in the figure
shows how the PC is loaded during a
CALL
or
GOTO
instruction (PCLATH<4:3>
PCH).
FIGURE 4-12: LOADING OF PC IN
DIFFERENT SITUATIONS
4.3.1
COMPUTED GOTO
A computed GOTO is accomplished by adding an
offset to the program counter (
ADDWF PCL
). When doing
a table read using a computed GOTO method, care
should be exercised if the table location crosses a PCL
memory boundary (each 256 byte block). Refer to the
application note “Implementing a Table Read"(AN556).
PC
12
8
7
0
5
PCLATH<4:0>
PCLATH
Instruction with
PCL as
Destination
ALU result
GOTO, CALL
Opcode <10:0>
8
PC
12
11 10
0
11
PCLATH<4:3>
PCH
PCL
8
7
2
PCLATH
PCH
PCL
4.3.2
STACK
The PIC16C62X(A) family has an 8 level deep x 13-bit
wide hardware stack (Figure 4-2 and Figure 4-3). The
stack space is not part of either program or data space
and the stack pointer is not readable or writable. The
PC is PUSHed onto the stack when a
CALL
instruction
is executed or an interrupt causes a branch. The stack
is POPed in the event of a
RETURN, RETLW
or a
RETFIE
instruction execution. PCLATH is not affected by a
PUSH or POP operation.
The stack operates as a circular buffer. This means that
after the stack has been PUSHed eight times, the ninth
push overwrites the value that was stored from the first
push. The tenth push overwrites the second push (and
so on).
Note 1:
There are no STATUS bits to indicate
stack overflow or stack underflow
conditions.
There are no instructions mnemonics
called PUSH or POP. These are actions
that occur from the execution of the
CALL, RETURN, RETLW
and
RETFIE
instructions, or the vectoring to an
interrupt address.
Note 2:
相關(guān)PDF資料
PDF描述
PIC16C622 EPROM-Based 8-Bit CMOS Microcontroller(每個I/O口有25mA驅(qū)動/吸收電流,可編程VREF,2.5V的微控制器)
pic16c622a EPROM-Based 8-Bit CMOS Microcontroller(8位CMOS微控制器)
PIC16C62B 28-Pin 8-Bit CMOS Microcontrollers(28引腳,8位CMOS微控制器)
PIC16C63A 8-Bit CMOS Microcontrollers with A/D Converter(8位、帶A/D轉(zhuǎn)換器的CMOS微控制器)
PIC16C73B 8-Bit CMOS Microcontrollers with A/D Converter(帶A/D轉(zhuǎn)換器的8位CMOS微控制器)
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
PIC16C621A/JW 功能描述:8位微控制器 -MCU 1.75KB 96 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 安裝風(fēng)格:SMD/SMT
PIC16C621A-04/P 功能描述:8位微控制器 -MCU 1.75KB 96 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 安裝風(fēng)格:SMD/SMT
PIC16C621A-04/P 制造商:Microchip Technology Inc 功能描述:IC 8BIT CMOS MCU 16C621 DIP18
PIC16C621A-04/SO 功能描述:8位微控制器 -MCU 1.75KB 96 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 安裝風(fēng)格:SMD/SMT
PIC16C621A-04/SS 功能描述:8位微控制器 -MCU 1.75KB 96 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 安裝風(fēng)格:SMD/SMT