PIC16F57 Microchip Technology Inc., PIC16F57 Datasheet - Page 15

no-image

PIC16F57

Manufacturer Part Number
PIC16F57
Description
Flash-based, 8-bit Cmos Microcontroller Series
Manufacturer
Microchip Technology Inc.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16F57-I/P
Manufacturer:
Microchip Technology
Quantity:
26 657
Part Number:
PIC16F57-I/P
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC16F57-I/P
0
Part Number:
PIC16F57-I/SO
Manufacturer:
PANASONIC
Quantity:
12 933
Part Number:
PIC16F57-I/SO
Manufacturer:
MIC
Quantity:
20 000
Part Number:
PIC16F57-I/SO
0
Part Number:
PIC16F57-I/SS
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
3.0
PIC16F5X memory is organized into program memory
and data memory. For the PIC16F57 and PIC16F59,
which have more than 512 words of program memory,
a paging scheme is used. Program memory pages are
accessed using one or two STATUS register bits. For
the PIC16F57 and PIC16F59, which have a data mem-
ory register file of more than 32 registers, a banking
scheme is used. Data memory banks are accessed
using the File Selection Register (FSR).
3.1
The PIC16F54 has a 9-bit Program Counter (PC)
capable of addressing a 512 x 12 program memory
space (Figure 3-1). The PIC16F57 and PIC16F59 have
an 11-bit Program Counter capable of addressing a 2K
x 12 program memory space (Figure 3-2). Accessing a
location above the physically implemented address will
cause a wraparound.
A NOP at the Reset vector location will cause a restart
at location 000h. The Reset vector for the PIC16F54 is
at 1FFh. The Reset vector for the PIC16F57 and
PIC16F59 is at 7FFh. See Section 3.5 “Program
Counter” for additional information using CALL and
GOTO instructions.
FIGURE 3-1:
© 2007 Microchip Technology Inc.
CALL, RETLW
MEMORY ORGANIZATION
Program Memory Organization
Stack Level 1
Stack Level 2
Reset Vector
PIC16F54 PROGRAM
MEMORY MAP AND
STACK
Program
PC<8:0>
On-chip
Memory
9
000h
0FFh
100h
1FFh
FIGURE 3-2:
CALL, RETLW
On-chip Program
Memory (Page 0)
On-chip Program
Memory (Page 1)
On-chip Program
Memory (Page 2)
On-chip Program
Memory (Page 3)
Stack Level 1
Stack Level 2
Reset Vector
PIC16F57/PIC16F59
PROGRAM MEMORY MAP
AND STACK
PC<10:0>
PIC16F5X
11
DS41213D-page 13
000h
0FFh
100h
1FFh
200h
2FFh
300h
3FFh
400h
4FFh
500h
5FFh
600h
6FFh
700h
7FFh

Related parts for PIC16F57