| 数据搜索系统,热门电子元器件搜索 |
|
PIC16F628-20/SS 数据表(PDF) 13 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
PIC16F628-20/SS 数据表(HTML) 13 Page - Microchip Technology |
|
13 / 160 page ![]() © 1999 Microchip Technology Inc. Preliminary DS40300B-page 13 PIC16F62X 4.0 MEMORY ORGANIZATION 4.1 Program Memory Organization The PIC16F62X has a 13-bit program counter capable of addressing an 8K x 14 program memory space. Only the first 1K x 14 (0000h - 03FFh) for the PIC16F627 and 2K x 14 (0000h - 07FFh) for the PIC16F628 are physically implemented. Accessing a location above these boundaries will cause a wrap-around within the first 1K x 14 space (PIC16F627) or 2K x 14 space (PIC16F628). The reset vector is at 0000h and the interrupt vector is at 0004h (Figure 4-1 and Figure 4-2). FIGURE 4-1: PROGRAM MEMORY MAP AND STACK FOR THE PIC16F627 PC<12:0> 13 000h 0004 0005 03FFh 0400h 1FFFh Stack Level 1 Stack Level 8 Reset Vector Interrupt Vector On-chip Program Memory CALL, RETURN RETFIE, RETLW Stack Level 2 FIGURE 4-2: PROGRAM MEMORY MAP AND STACK FOR THE PIC16F628 4.2 Data Memory Organization The data memory (Figure 4-3) is partitioned into four Banks which contain the general purpose registers and the special function registers. The Special Function Registers are located in the first 32 locations of each Bank. Register locations 20-7Fh, A0h-FFh, 120h-14Fh, 170h-17Fh and 1F0h-1FFh are general purpose regis- ters implemented as static RAM. The Table below lists how to access the four banks of registers: Addresses F0h-FFh, 170h-17Fh and 1F0h-1FFh are implemented as common RAM and mapped back to addresses 70h-7Fh. 4.2.1 GENERAL PURPOSE REGISTER FILE The register file is organized as 224 x 8 in the PIC16F62X. Each is accessed either directly or indi- rectly through the File Select Register FSR (Section 4.4). RP1 RP0 Bank0 0 0 Bank1 0 1 Bank2 1 0 Bank3 1 1 PC<12:0> 13 000h 0004 0005 07FFh 0800h 1FFFh Stack Level 1 Stack Level 8 Reset Vector Interrupt Vector On-chip Program Memory CALL, RETURN RETFIE, RETLW Stack Level 2 |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |