參數(shù)資料
型號: HT95A100
廠商: Holtek Semiconductor Inc.
英文描述: I/O Type Phone 8-Bit MCU
中文描述: I / O型電話8位微控制器
文件頁數(shù): 7/48頁
文件大?。?/td> 360K
代理商: HT95A100
HT95AXXX
Rev. 1.20
7
May 26, 2004
Program Memory
ROM
The program memory is used to store the program in-
structions which are to be executed. It also contains
data, table, and interrupt entries, and is organized into
8K 16 bits 2 banks (HT95A400/40P), 8K 16 bits
(HT95A300/30P) or 4K 16 bits (HT95A200/20P,
HT95A100/10P), addressed by the program counter
and table pointer.
For the HT95A400/40P, the program memory is divided
into 2 banks, each bank having a ROM Size 8Kx16its.
To move from the present ROM bank to a different ROM
bank, the higher 1 bits of the ROM address are set by
the BP (Bank Pointer), while the remaining 13 bits of the
PCaresetintheusualwaybyexecutingtheappropriate
jump or call instruction. As the 14 address bits are
latched during the execution of a call or jump instruction,
the correct value of the BP must first be setup before a
jump or call is executed. When either a software or hard-
ware interrupt is received, note that no matter which
ROM bank the program is in, the program will always
jump to the appropriate interrupt service address in
Bank 0. The original 14 bits address will be stored on the
stack and restored when the relevant RET/RETI instruc-
tion is executed, automatically returning the program to
the original ROM bank. This eliminates the need for pro-
grammers to manage the BP when interrupts occur.
Certain locations in the program memory are reserved
for special usage:
Location 0000H (Bank0)
This area is reserved for the initialization program. Af-
ter chip power-on reset or external reset or WDT
time-out reset, the program always begins execution
at location 0000H.
Location 0004H (Bank0)
This area is reserved for the external interrupt service
program. If the INT input pin is activated, the external
interrupt is enabled and the stack is not full, the pro-
gram begins execution at location 0004H.
Location 0008H (Bank0)
This area is reserved for the Timer/Event Counter 0
interrupt service program. If a timer interrupt results
from a Timer/Event Counter 0 overflow, the
Timer/Event Counter 0 interrupt is enabled and the
stack is not full, the program begins execution at loca-
tion 0008H.
Location 000CH (Bank0)
This location is reserved for the Timer/Event Counter
1 interrupt service program. If a timer interrupt results
from a Timer/Event Counter 1 overflow, the
Timer/Event Counter 1 interrupt is enabled and the
stack is not full, the program begins execution at loca-
tion 000CH.
Location 0014H (Bank0)
This location is reserved for real time clock (RTC) in-
terrupt service program. When RTC generator is en-
abled and time-out occurs, the RTC interrupt is
enabled and the stack is not full, the program begins
execution at location 0014H.
Location 0018H (Bank0)
This location is reserved for the HKS pin edge transi-
tion or HDI pin falling edge transition or HFI pin rising
edge transition. If this condition occurs, the dialer I/O
interrupt is enabled and the stack is not full, the pro-
gram begins execution at location 18H.
Table Location
Any location in the ROM space can be used as look-up
tables. The instructions
TABRDC [m]
(the current
page, one page=256 words) and TABRDL[m] (the last
page)transferthecontentsofthelower-orderbytetothe
specified data memory, and the higher-order byte to
TBLH (08H). For the HT95A400/40P, the instruction
TABRDC [m] is used for any page of any bank. Only
the destination of the lower-order byte in the table is
well-defined, and the higher-order byte of the table word
is transferred to TBLH. The table pointer (TBLP) or
(TBHP, TBLP for the HT95A400/40P) is a read/write
register (07H) or (1FH, 07H for the HT95A400/40P),
which indicates the table location. Before accessing the
table, the location must be placed in the (TBLP) or
(TBHP, TBLPfor the HT95A400/40P). The TBLH is read
only and cannot be restored. If the main routine and the
-
3 -
, -
A
'
0 .
'
6 >
0 '
'
B
2 6 A
'
' '
'
B
+ ' B
!
1
'
B 0 ' < % 8 + ' /
=
-
!
1
'
B 0 ' < % 8 + ' /
=
< !
'
=
C '
"
' !
'
' #
' -
$ 8
3
2 3
'
' ) 4
- ' 5 ' ) 4 4 4 -
' ' ' ' ' ' ' ' "
' !
'
' #
' -
$ 8
)
2 )
'
' 4
- ' 5 ' 4 4 4 -
' ' ' ' ' ' ' ' "
' !
'
' #
' -
$ 8
%
2 %
'
' 4
- ' 5 ' 4 4 4 -
' ' ' ' ' ' ' ' "
' !
'
' #
' -
$ 8
2
'
' 4
- ' 5 ' 4 4 4 -
4 4 -
2 6 A
'
' '
'
B
-
-
'
'
B
3 -
0
' 2
'
'
B
, -
A
Program Memory
相關(guān)PDF資料
PDF描述
HT95A200 I/O Type Phone 8-Bit MCU
HT95A300 I/O Type Phone 8-Bit MCU
HT95AXXX I/O Type Phone 8-Bit MCU
HT95C20P 8-Bit CID Type Phone Controller MCU
HT95C300 8-Bit CID Type Phone Controller MCU
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
HT95A100/10P 制造商:HOLTEK 制造商全稱:Holtek Semiconductor Inc 功能描述:I/O Type Phone 8-Bit MCU
HT95A10P 制造商:HOLTEK 制造商全稱:Holtek Semiconductor Inc 功能描述:LCD Type Phone 8-Bit MCU
HT95A200 制造商:HOLTEK 制造商全稱:Holtek Semiconductor Inc 功能描述:I/O Type Phone 8-Bit MCU
HT95A200/20P 制造商:HOLTEK 制造商全稱:Holtek Semiconductor Inc 功能描述:I/O Type Phone 8-Bit MCU
HT95A20P 制造商:HOLTEK 制造商全稱:Holtek Semiconductor Inc 功能描述:CID Type Phone 8-Bit MCU