English
Language : 

HT95R45 Datasheet, PDF (14/76 Pages) Holtek Semiconductor Inc – Phone 8-Bit MCU with DTMF Receiver & CPT
HT95R45
tempreg1
tempreg2
mov
mov
tabrdl
dec
tabrdl
org
dc
db
?
db
?
:
:
a,06h
tblp,a
:
:
tempreg1
tblp
; temporary register #1
; temporary register #2
; initialise table pointer - note that this address
; is referenced
; to the last page or present page
; transfers value in table referenced by table pointer
; to tempregl
; data at prog. memory address ²3F06H² transferred to
; tempreg1 and TBLH
; reduce value of table pointer by one
tempreg2
:
:
3F00h
; transfers value in table referenced by table pointer
; to tempreg2
; data at prog.memory address ²3F05H² transferred to
; tempreg2 and TBLH
; in this example the data ²1AH² is transferred to
; tempreg1 and data ²0FH² to register tempreg2
; the value ²0FH² will be transferred to the high byte
; register TBLH
; sets initial address of HT95R35 last page
00Ah, 00Bh, 00Ch, 00Dh, 00Eh, 00Fh, 01Ah, 01Bh
:
:
Data Memory
The Data Memory is a volatile area of 8-bit wide RAM in-
ternal memory and is the location where temporary in-
formation is stored. 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 di-
rectly under program control, however, some remain
protected from user manipulation. The second area of
RAM Data Memory is reserved for general purpose use.
All locations within this area are read and write accessi-
ble under program control.
00H
S p e c ia l P u r p o s e
D a ta M e m o ry
3FH
40H
Structure
The Special Purpose and General Purpose Data Mem-
ory are located at consecutive locations. All are imple-
mented in RAM and are 8 bits wide. The start address of
the Data Memory is the address 00H. Registers which
are common to all microcontrollers, such as ACC, PCL,
etc., have the same Data Memory address. Note that af-
ter power-on, the contents of the Data Memory, will be in
an unknown condition, the programmer must therefore
ensure that the Data Memory is properly initialised. The
Special Purpose Data Memory is located in Bank 0
while the General Purpose Data Memory is divided into
11 individual areas or Banks known as Bank 0 to Bank
10. Switching between different banks is achieved by
setting the Bank Pointer to the correct value.
B ank 0
G e n e ra l P u rp o s e
D a ta M e m o ry
FFH
B ank 0
B ank 1
B ank 2
B ank 3
B ank 1~10
G e n e ra l P u rp o s e
D a ta M e m o ry
B ank 10
Data Memory Structure
Rev. 1.00
14
March 12, 2010