MC81F4x16
9.3 Data Memory
0000H
User Memory
(176Bytes)
Page 0
(When “G-flag = 0”,
this page 0 is selected
00AFH
00B0H
Control Register
(80Bytes)
00FFH
0100H
User Memory
or Stack Area
(256Bytes)
Page 1
Page 2
01FFH
0200H
User Memory
(80Bytes)
0300H
024FH
Figure 9-8 Data Memory Map
Figure 9-8 shows the internal Data Memory space available. Data Memory is divided into three groups,
a user RAM, Stack memory and Control registers.
9.4 User Memory
The MC81F4x16 has a 512 bytes user memory (RAM). RAM pages are selected by the RPR register.
RPR
RAM PAGE SELECT REGISTER
00E1H
7
6
5
4
3
2
1
0
RPR
-
RPR bits
Reset value:
----_--00b
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
00: page 0
01: page 1
10: page 2
RPR bits
Ram Page Select bits
Note :
After setting RPR(RAM Page Select Register), be sure to execute SETG instruction.
Whenever CLRG instruction is excuted, PAGE0 is selected regardless of RPR.
October 19, 2009 Ver.1.35
59