KS57C2308/P2308/C2316/P2316
ADDRESS SPACES
2-5
DATA MEMORY (RAM)
OVERVIEW
In its standard configuration, the 512 x 4-bit data memory has four areas:
— 32
×
4-bit working register area in bank 0
— 224
×
4-bit general-purpose area in bank 0 which is also used as the stack area
— 224
×
4-bit general-purpose area in bank 1
— 32
×
4-bit area for LCD data in bank 1
— 128
×
4-bit area in bank 15 for memory-mapped I/O addresses
To make it easier to reference, the data memory area has three memory banks — bank 0, bank 1 and bank 15.
The select memory bank instruction (SMB) is used to select the bank you want to select as working data memory.
Data stored in RAM locations are 1-, 4-, and 8-bit addressable. One exception is the LCD data register area,
which is 1-bit and 4-bit addressable only.
Initialization values for the data memory area are not defined by hardware and must therefore be initialized by
program software following power
RESET
. However, when
RESET
signal is generated in power-down mode, the
most of data memory contents are held.
GENERAL-PURPOSE
REGISTERS AND
STACK AREA
(224 x 4 Bits)
WORKING REGISTERS
(32 x 4 Bits)
LCD DATA REGISTERS
(32 x 4 Bits)
MEMORY-MAPPED I/O
AEERESS REGISTERS
(128 x 4 Bits)
000H
01FH
020H
0FFH
100H
FFFH
1FFH
F80H
~
~
BANK 0
BANK 1
BANK 15
GENERAL-PURPOSE
REGISTERS
(224 x 4 Bits)
1DFH
1E0H
Figure 2-3. Data Memory (RAM) Map
Summary of Contents for KS57C2308
Page 30: ...ADDRESS SPACES KS57C2308 P2308 C2316 P2316 2 22 NOTES ...
Page 168: ...SAM47 INSTRUCTION SET KS57C2308 P2308 C2316 P2316 5 94 NOTES ...
Page 170: ......
Page 206: ...POWER DOWN KS57C2308 P2308 C2316 P2316 8 8 NOTES ...
Page 210: ...RESET KS57C2308 P2308 C2316 P2316 9 4 NOTES ...
Page 222: ...I O PORTS KS57C2308 P2308 C2316 P2316 10 12 NOTES ...
Page 272: ...LCD CONTROLLER DRIVER KS57C2308 P2308 C2316 P2316 12 24 NOTES ...
Page 280: ...SERIAL I O INTERFACE KS57C2308 P2308 C2316 P2316 13 8 NOTES ...
Page 294: ...MECHANICAL DATA KS57C2308 P2308 C2316 P2316 15 2 NOTES ...
Page 310: ...KS57P2308 P2316 OTP KS57C2308 P2308 C2316 P2316 16 16 NOTES ...
Page 318: ......
Page 320: ......
Page 322: ......
Page 325: ......
Page 327: ......