HT46R064D/065D/066D
Enhanced A/D Type 8-Bit OTP MCU with LED Driver
Data Memory
The Data Memory is a volatile area of 8-bit wide RAM internal memory and is the location where
temporary information is stored.
Structure
Divided into two sections, the first of these is an area of RAM where special function registers are
located. These registers have fixed locations and are necessary for correct operation of the device. Many
of these registers can be read from and written to directly under program control, however, some remain
protected from user manipulation. The second area of Data Memory is reserved for general purpose use.
All locations within this area are read and write accessible under program control.
Device
Capacity
64´8
HT46R064D
HT46R065D
HT46R066D
96´8
128´8
The two sections of Data Memory, the Special Purpose and General Purpose Data Memory are located
at consecutive locations. All are implemented in RAM and are 8 bits wide but the length of each mem-
ory section is dictated by the type of microcontroller chosen. The start address of the Data Memory for
all devices is the address ²00H².
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.
Data Memory Structure
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 registers.
Rev. 1.00
19
January 12, 2011