Note
Most of the Data Memory bits can be directly manipulated using the ²SET [m].i² and ²CLR [m].i²
with the exception of a few dedicated bits. The Data Memory can also be accessed through the
Memory Pointer register MP.
General Purpose Data Memory
All microcontroller programs require an area of read/write memory where temporary data can be
stored and retrieved for use later. It is this area of RAM memory that is known as General Purpose
Data Memory. This area of Data Memory is fully accessible by the user program for both read and
write operations. By using the ²SET [m].i² and ²CLR [m].i² instructions individual bits can be set or
reset under program control giving the user a large range of flexibility for bit manipulation in the
Data Memory.
Special Purpose Data Memory
This area of Data Memory is where registers, necessary for the correct operation of the
microcontroller, are stored. Most of the registers are both readable and writable but some are pro
-
tected and are read only, the details of which are located under the relevant Special Function Reg
-
ister section. Note that for locations that are unused, any read instruction to these addresses will
return the value ²00H².
The following diagram shows a detailed Special Purpose Data Memory organization map of the
Cost-Effective I/O Type microcontroller:
18
Cost-Effective I/O Type MCU
2 0 H
6 0 H
7 F H
H T 4 8 R 0 5 A - 1 / H T 4 8 C 0 5
2 0 H
4 0 H
7 F H
H T 4 8 R 0 6 A - 1 / H T 4 8 C 0 6
H T 4 8 R 0 7 A - 1 / H T 4 8 C 0 7
: U n u s e d , r e a d a s " 0 0 "
2 0 H
7 F H
H T 4 8 R 0 8 A - 1 / H T 4 8 C 0 8
H T 4 8 R 0 9 A - 1 / H T 4 8 C 0 9
3 2 B y t e s 6 4 B y t e s 9 6 B y t e s
I A R
M P
A C C
P C L
T B L P
T B L H
W D T S
S T A T U S
I N T C
T M R
T M R C
P A
P A C
P B
P B C
P C
P C C
0 0 H
0 1 H
0 2 H
0 3 H
0 4 H
0 5 H
0 6 H
0 7 H
0 8 H
0 9 H
0 A H
0 B H
0 C H
0 D H
0 E H
0 F H
1 0 H
1 1 H
1 2 H
1 3 H
1 4 H
1 5 H
1 6 H
1 7 H
1 8 H
: U n u s e d , r e a d a s " 0 0 "
1 F H