SN8P1829
8-Bit MCU build-in 12-bit ADC + PGIA + Charge-pump Reg 128 dots LCD driver
SONiX TECHNOLOGY CO., LTD
Page 21
Version 1.0
DATA MEMORY (RAM)
OVERVIEW
The SN8P1829 has internally built-in data memory up to 512 bytes for storing general-purpose data and featured with
LCD memory space up to 128 locations (4*32 bits) for displaying.
512 * 8-bit general purpose area
128 * 8-bit system register area
4*32* 8-bit LCD memory space
These memories are separated into bank 0~3 and bank 15. The user can program RBANK register of RAM bank
selection bit to access all data in any of the five RAM banks. The bank 0~3 use the first 128-byte location assigned as
general-purpose area, and the remaining 128-byte of bank 0 as system register. The bank 15 is LCD RAM area
designed for storing LCD display data.
RAM
location
000h
General purpose area
; 000h~07Fh of Bank 0 = To store general
.
; purpose data (128 bytes).
07Fh .
080h
System register
; 080h~0FFh of Bank 0 = To store system
.
; registers (128 bytes).
BANK 0
0FFh
End of bank 0 area
100h
General purpose area
; Bank 1 = To store general-purpose data.
.
BANK 1
1FFh
End of bank 1 area
; Bank 1 had 256 bytes RAMs.
BANK 2
200h
“
; Bank 2 = To store general-purpose data.
“
27Fh
“
; Bank 2 only had 128 bytes RAMs.
“ ;
300h
“
;
“
“ ;
“
380h
“
;
“
“ ;
“
F00h
LCD RAM area
; Bank 15 = To store LCD display data
.
; (32 bytes).
BANK 15
F1Fh
End of LCD Ram
;
Figure 3-2 RAM map of SN8P1829
Note1: The undefined locations of system register area are logic “high” after executing read instruction
“MOV A, M”.
Note2: The lower 32 locations of bank15 are used to store LCD display data and the other locations are
reserved. The RAM of LCD data area only use lowest 4-bit. The highest 4-bit are undefined.