参数资料
型号: PIC16F54T-I/SS
厂商: Microchip Technology
文件页数: 14/88页
文件大小: 0K
描述: IC MCU FLASH 512X12 20SSOP
产品培训模块: Asynchronous Stimulus
标准包装: 1,600
系列: PIC® 16F
核心处理器: PIC
芯体尺寸: 8-位
速度: 20MHz
外围设备: POR,WDT
输入/输出数: 12
程序存储器容量: 768B(512 x 12)
程序存储器类型: 闪存
RAM 容量: 25 x 8
电压 - 电源 (Vcc/Vdd): 2 V ~ 5.5 V
振荡器型: 外部
工作温度: -40°C ~ 85°C
封装/外壳: 20-SSOP(0.209",5.30mm 宽)
包装: 带卷 (TR)
2007 Microchip Technology Inc.
DS41213D-page 19
PIC16F5X
3.5
Program Counter
As a program instruction is executed, the Program
Counter (PC) will contain the address of the next
program instruction to be executed. The PC value is
increased by one, every instruction cycle, unless an
instruction changes the PC.
For a GOTO instruction, bits 8:0 of the PC are provided
by the GOTO instruction word. The PC Latch (PCL) is
mapped to PC<7:0> (Figure 3-6 and Figure 3-7).
For the PIC16F57 and PIC16F59, a page number must
be supplied as well. Bit 5 and bit 6 of the STATUS reg-
ister provide page information to bit 9 and bit 10 of the
For a CALL instruction, or any instruction where the
PCL is the destination, bits 7:0 of the PC again are
provided by the instruction word. However, PC<8>
does not come from the instruction word, but is always
Instructions where the PCL is the destination or modify
PCL instructions, include MOVWF PCL, ADDWF PCL,
and BSF PCL,5.
For the PIC16F57 and PIC16F59, a page number
again must be supplied. Bit 5 and bit 6 of the STATUS
register provide page information to bit 9 and bit 10 of
FIGURE 3-6:
LOADING OF PC BRANCH
INSTRUCTIONS – PIC16F54
FIGURE 3-7:
LOADING OF PC BRANCH
INSTRUCTIONS – PIC16F57
AND PIC16F59
3.5.1
PAGING CONSIDERATIONS
PIC16F57 AND PIC16F59
If the PC is pointing to the last address of a selected
memory page, when it increments, it will cause the pro-
gram to continue in the next higher page. However, the
page preselect bits in the STATUS register will not be
updated. Therefore, the next GOTO, CALL or MODIFY
PCL
instruction will send the program to the page
specified by the page preselect bits (PA0 or PA<1:0>).
For example, a NOP at location 1FFh (page 0)
increments the PC to 200h (page 1). A GOTO xxx at
200h will return the program to address xxh on page 0
(assuming that PA<1:0> are clear).
To prevent this, the page preselect bits must be
updated under program control.
3.5.2
EFFECTS OF RESET
The PC is set upon a Reset, which means that the PC
addresses the last location in the last page (i.e., the
Reset vector).
The STATUS register page preselect bits are cleared
upon a Reset, which means that page 0 is preselected.
Therefore, upon a Reset, a
GOTO
instruction at the
Reset vector location will automatically cause the
program to jump to page 0.
Note:
Because PC<8> is cleared in the CALL
instruction or any modified PCL instruc-
tion, all subroutine calls or computed
jumps are limited to the first 256 locations
of any program memory page (512 words
long).
PC
87
0
PCL
PC
87
0
PCL
Reset to '0'
Instruction Word
GOTO
Instruction
CALL
or Modify PCL Instruction
PA<1:0>
2
Status
PC
87
0
PCL
9
10
PA<1:0>
2
Status
PC
87
0
PCL
9
10
Instruction Word
Reset to ‘0’
Instruction Word
70
GOTO
Instruction
CALL
or Modify PCL Instruction
相关PDF资料
PDF描述
PIC10F200-E/MC IC PIC MCU FLASH 256X12 8DFN
VI-J40-IY-F1 CONVERTER MOD DC/DC 5V 50W
PIC16F54T-I/SO IC MCU FLASH 512X12 18SOIC
VI-BNF-CU-S CONVERTER MOD DC/DC 72V 200W
MS27505E17B55S CONN RCPT 55POS BOX MNT W/SCKT
相关代理商/技术参数
参数描述
PIC16F570-E/MV 制造商:Microchip Technology Inc 功能描述:28 PIN 3KB FLASH, 64 RAM, 8MHZ INT. 2- OP AMPS - Rail/Tube 制造商:Microchip Technology Inc 功能描述:IC MCU 8BIT 3KB FLASH 28UQFN 制造商:Microchip Technology Inc 功能描述:28 Pin 3KB Flash, 64 RAM, 8MHz Int. 2- Op Amps, 28 UQFN 4x4x0.5mm TUBE
PIC16F570-E/SO 制造商:Microchip Technology Inc 功能描述:28 PIN 3KB FLASH, 64 RAM, 8MHZ INT. 2- OP AMPS - Rail/Tube 制造商:Microchip Technology Inc 功能描述:IC MCU 8BIT 3KB FLASH 28SOIC 制造商:Microchip Technology Inc 功能描述:28 Pin 3KB Flash, 64 RAM, 8MHz Int. 2- Op Amps, 28 SOIC .300in TUBE
PIC16F570-E/SP 制造商:Microchip Technology Inc 功能描述:28 PIN 3KB FLASH, 64 RAM, 8MHZ INT. 2- OP AMPS - Rail/Tube 制造商:Microchip Technology Inc 功能描述:IC MCU 8BIT 3KB FLASH 28SDIP 制造商:Microchip Technology Inc 功能描述:28 Pin 3KB Flash, 64 RAM, 8MHz Int. 2- Op Amps, 28 SPDIP .300in TUBE
PIC16F570-E/SS 制造商:Microchip Technology Inc 功能描述:28 PIN 3KB FLASH, 64 RAM, 8MHZ INT. 2- OP AMPS - Rail/Tube 制造商:Microchip Technology Inc 功能描述:IC MCU 8BIT 3KB FLASH 28SSOP 制造商:Microchip Technology Inc 功能描述:28 Pin 3KB Flash, 64 RAM, 8MHz Int. 2- Op Amps, 28 SSOP .209in TUBE
PIC16F570-I/MV 制造商:Microchip Technology Inc 功能描述:28 Pin 3KB Flash, 64 RAM, 8MHz Int. 2- Op Amps 制造商:Microchip Technology Inc 功能描述:28 PIN 3KB FLASH, 64 RAM, 8MHZ INT. 2- OP AMPS - Rail/Tube 制造商:Microchip Technology Inc 功能描述:MCU 8-bit PIC16 PIC RISC 3KB Flash 2.5V/3.3V/5V 28-Pin UQFN EP Tube 制造商:Microchip Technology Inc 功能描述:IC MCU 8BIT 3KB FLASH 28UQFN 制造商:Microchip Technology Inc 功能描述:IC 8BIT MCU PIC16 8MHZ UQFN-28 制造商:Microchip Technology Inc 功能描述:IC, 8BIT MCU, PIC16, 8MHZ, UQFN-28 制造商:Microchip Technology Inc 功能描述:PIC16 8-bit Microcontroller with 3K flash in a 28 pin UQFN package 制造商:Microchip Technology Inc 功能描述:28 Pin 3KB Flash, 64 RAM, 8MHz Int. 2- Op Amps, 28 UQFN 4x4x0.5mm TUBE 制造商:Microchip Technology Inc 功能描述:MCU,PIC 8-bit,3KB Flash 64 RAM,UQFN 28