Samsung KS57C2308 Manual page 10

Single-chip cmos microcontroller
Table of Contents

Advertisement

ADDRESS SPACES
GENERAL-PURPOSE MEMORY AREAS
The 20-byte area at ROM locations 000CH–001FH and the 8,064-byte (16,256-byte) area at ROM locations
0080H–1FFFH (0080H–3FFFH) are used as general-purpose program memory. Unused locations in the vector
address area and REF instruction look-up table areas can be used as general-purpose program memory.
However, care must be taken not to overwrite live data when writing programs that use special-purpose areas of
the ROM.
VECTOR ADDRESS AREA
The 12-byte vector address area of the ROM is used to store the vector addresses for executing system resets
and interrupts. The starting addresses of interrupt service routines are stored in this area, along with the enable
memory bank (EMB) and enable register bank (ERB) flag values that are needed to initialize the service routines.
12-byte vector addresses are organized as follows:
EMB
ERB
PC7
PC6
NOTE:
PC13 is used for KS57C2316/P2316 microcontroller.
To set up the vector address area for specific programs, use the instruction VENTn. The programming tips on the
next page explain how to do this.
0000H
VECTOR ADDRESS AREA
000BH
000CH
GENERAL-PURPOSE AREA
001FH
0020H
007FH
0080H
GENERAL-PURPOSE AREA
1FFFH
3FFFH
Figure 2-1. ROM Address Structure
2-2
(note)
PC13
PC5
(12 Bytes)
(20 Bytes)
INSTRUCTION
REFERENCE
AREA
(8,064 Bytes/
16,256 Bytes)
PC12
PC11
PC4
PC3
0000H
0002H
0004H
0006H
0008H
000AH
Figure 2-2. Vector Address Structure
KS57C2308/P2308/C2316/P2316
PC10
PC9
PC2
PC1
7
6
5
4
3
RESET
INTB/INT4
INT0
INT1
INTS
INTT0
PC8
PC0
2
1
0

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

P2308C2316P2316Ks57p2308Ks57c2316Ks57p2316

Table of Contents