Address Spaces - Samsung KS57C2308 Manual

Single-chip cmos microcontroller
Table of Contents

Advertisement

KS57C2308/P2308/C2316/P2316
2

ADDRESS SPACES

PROGRAM MEMORY (ROM)
OVERVIEW
ROM maps for KS57C2 308/C2316 devices are mask programmable at the factory. KS57C2308 has 8K
program memory and KS57C2316 has 16K
the two products are identical in other features. In its standard configuration, the device's 8,192
8-bit) program memory has four areas that are directly addressable by the program counter (PC):
— 12-byte area for vector addresses
— 96-byte instruction reference area
— 20-byte general-purpose area
— 8064-byte general-purpose area (KS57C2308)
— 16256-byte general-purpose area (KS57C2316)
General-Purpose Program Memory
Two program memory areas are allocated for general-purpose use: One area is 20 bytes in size and the other is
8,064-bytes (16,256-bytes).
Vector Addresses
A 12-byte vector address area is used to store the vector addresses required to execute system resets and
interrupts. Start addresses for interrupt service routines are stored in this area, along with the values of the
enable memory bank (EMB) and enable register bank (ERB) flags that are used to set their initial value for the
corresponding service routines. The 16-byte area can be used alternately as general-purpose ROM.
REF Instructions
Locations 0020H–007FH are used as a reference area (look-up table) for 1-byte REF instructions. The REF
instruction reduces the byte size of instruction operands. REF can reference one 2-byte instruction, two 1-byte
instructions, and one 3-byte instruction which are stored in the look-up table. Unused look-up table addresses can
be used as general-purpose ROM.
ROM Area Function
Vector address area
General-purpose program memory
REF instruction look-up table area
General-purpose program memory
8-bit program memory, aside from the differences in the ROM size
Table 2-1. Program Memory Address Ranges
0000H–000BH
000CH–001FH
0020H–007FH
0080H–1FFFH (KS57C2308)
0080H–3FFFH (KS57C2316)
Address Ranges
ADDRESS SPACES
8-bit
8-bit (16,384
Area Size (in Bytes)
12
20
96
8064 (KS57C2308)
16256 (KS57C2316)
2-1

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

P2308C2316P2316Ks57p2308Ks57c2316Ks57p2316

Table of Contents