p16f877 Microchip Technology Inc., p16f877 Datasheet - Page 13

no-image

p16f877

Manufacturer Part Number
p16f877
Description
28/40-pin 8-bit Cmos Flash Microcontrollers
Manufacturer
Microchip Technology Inc.
Datasheet
2.0
There are three memory blocks in each of the
PIC16F87X MCUs. The Program Memory and Data
Memory have separate buses so that concurrent
access can occur and is detailed in this section. The
EEPROM data memory block is detailed in Section 4.0.
Additional information on device memory may be found
in the PICmicro
(DS33023).
FIGURE 2-1:
Program
2001 Microchip Technology Inc.
On-Chip
Memory
CALL, RETURN
RETFIE, RETLW
MEMORY ORGANIZATION
Mid-Range Reference Manual,
Interrupt Vector
RESET Vector
PIC16F877/876 PROGRAM
MEMORY MAP AND
STACK
Stack Level 2
Stack Level 8
Stack Level 1
PC<12:0>
Page 0
Page 1
Page 2
Page 3
13
0000h
0004h
0005h
07FFh
0800h
0FFFh
1000h
17FFh
1800h
1FFFh
2.1
The PIC16F87X devices have a 13-bit program counter
capable of addressing an 8K x 14 program memory
space. The PIC16F877/876 devices have 8K x 14
words
PIC16F873/874 devices have 4K x 14. 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.
FIGURE 2-2:
On-Chip
Program
Memory
CALL, RETURN
RETFIE, RETLW
of
Program Memory Organization
FLASH
Interrupt Vector
RESET Vector
PIC16F874/873 PROGRAM
MEMORY MAP AND
STACK
program
Stack Level 8
Stack Level 2
Stack Level 1
PC<12:0>
Page 0
Page 1
PIC16F87X
13
memory,
DS30292C-page 11
0000h
0004h
0005h
07FFh
0800h
0FFFh
1000h
1FFFh
and
the

Related parts for p16f877