English
Language : 

PIC16F737-I Datasheet, PDF (17/276 Pages) Microchip Technology – 28/40/44-Pin, 8-Bit CMOS Flash Microcontrollers with 10-Bit A/D and nanoWatt Technology
PIC16F7X7
2.0 MEMORY ORGANIZATION
There are two memory blocks in each of these
PICmicro® MCUs. The program memory and data
memory have separate buses so that concurrent
access can occur and is detailed in this section. The
program memory can be read internally by user code
(see Section 3.0 “Reading Program Memory”).
Additional information on device memory may be found
in the “PICmicro® Mid-Range MCU Family Reference
Manual” (DS33023).
2.1 Program Memory Organization
The PIC16F7X7 devices have a 13-bit program counter
capable of addressing an 8K word x 14-bit program
memory space. The PIC16F767/777 devices have
8K words of Flash program memory and the
PIC16F737/747 devices have 4K words. The program
memory maps for PIC16F7X7 devices are shown in
Figure 2-1. Accessing a location above the physically
implemented address will cause a wraparound.
The Reset vector is at 0000h and the interrupt vector is
at 0004h.
2.2 Data Memory Organization
The data memory is partitioned into multiple banks
which contain the General Purpose Registers and the
Special Function Registers. Bits RP1 (Status<6>) and
RP0 (Status<5>) are the bank select bits:
RP1:RP0
Bank
00
0
01
1
10
2
11
3
Each bank extends up to 7Fh (128 bytes). The lower
locations of each bank are reserved for the Special
Function Registers. Above the Special Function Regis-
ters are General Purpose Registers, implemented as
static RAM. All implemented banks contain Special
Function Registers. Some frequently used Special
Function Registers from one bank may be mirrored in
another bank for code reduction and quicker access.
2.2.1
GENERAL PURPOSE
REGISTER FILE
The register file (shown in Figure 2-2 and Figure 2-3)
can be accessed either directly, or indirectly, through
the File Select Register (FSR).
FIGURE 2-1:
PROGRAM MEMORY MAPS AND STACKS FOR PIC16F7X7 DEVICES
PC<12:0>
CALL, RETURN
13
RETFIE, RETLW
Stack Level 1
Stack Level 2
Stack Level 8
Reset Vector
0000h
On-Chip
Program
Memory
Interrupt Vector
Page 0
Page 1
Page2
Page 3
0004h
0005h
07FFh
0800h
Memory available on all
PIC16F7X7.
0FFFh
1000h
17FFh
1800h
1FFFh
Memory available on PIC16F767
and PIC16F777. The memory
wraps to 000h through 0FFFh on
the PIC16F737 and PIC16F747.
 2004 Microchip Technology Inc.
DS30498C-page 15