Rev. 1.00
32
September 11, 2018
Rev. 1.00
33
September 11, 2018
HT45F4050
A/D NFC Flash MCU
HT45F4050
A/D NFC Flash MCU
Structure
The Data Memory is subdivided into several sectors, all of which are implemented in 8-bit wide
Memory. Each of the Data Memory Sectors is categorized into two types, the special Purpose Data
Memory and the General Purpose Data Memory.
The address range of the Special Purpose Data Memory for the devices is from 00H to 7FH while
the General Purpose Data Memory address range is from 80H to FFH.
Special Purpose Data Memory
General Purpose Data Memory
Located Sectors
Capacity
Sector: Address
0, 1
256×8
0: 80H~FFH
1: 80H~FFH
Data Memory Summary
00H
7FH
80H
FFH
Special Purpose
Data Memory
General Purpose
Data Memory
Sector 0
Sector 1
(Sector 0 ~ Sector 1)
(Sector 0 ~ Sector 1)
40H
EEC in Sector 1
Data Memory Structure
Data Memory Addressing
For this device that supports the extended instructions, there is no Bank Pointer for Data Memory.
For Data Memory the desired Sector is pointed by the MP1H or MP2H register and the certain
Data Memory address in the selected sector is specified by the MP1L or MP2L register when using
indirect addressing access.
Direct Addressing can be used in all sectors using the corresponding instruction which can address
all available data memory space. For the accessed data memory which is located in any data memory
sectors except sector 0, the extended instructions can be used to access the data memory instead
of using the indirect addressing access. The main difference between standard instructions and
extended instructions is that the data memory address "m" in the extended instructions has
9
valid
bits, the high byte indicates a sector and the low byte indicates a specific address.
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 programing for both reading
and writing operations. By using the bit operation 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.