Specifications
mikroElektronika | Free Online Book | PIC Microcontrollers | Chapter 1: PIC16F887 Microcontroller - Device Overview
function of each port A pin can be changed in a way it acts as input or output. Another feature of these memory locations
is that they have their names (registers and their bits), which considerably facilitates program writing. Since high-level
programming language can use the list of all registers with their exact addresses, it is enough to specify the register’s
name in order to read or change its contents.
RAM Memory Banks
The data memory is partitioned into four banks. Prior to accessing some register during program writing (in order to read
or change its contents), it is necessary to select the bank which contains that register. Two bits of the STATUS register are
used for bank selecting, which will be discussed later. In order to facilitate operation, the most commonly used SFRs have
the same address in all banks which enables them to be easily accessed.
Table 1-2 Address Banks
http://www.mikroe.com/en/books/picmcubook/ch1/ (10 of 14)5/3/2009 11:31:25 AM