HT47C20 Holtek Semiconductor Inc, HT47C20 Datasheet - Page 10

no-image

HT47C20

Manufacturer Part Number
HT47C20
Description
8-Bit Microcontroller
Manufacturer
Holtek Semiconductor Inc
Datasheet
·
·
·
·
Note: *10~*0: Program counter bits
Initial reset
External interrupt
Time base interrupt
RTC interrupt
Timer/event counter interrupt
Skip
Loading PCL
Jump, call branch
Return from subroutine
the stack is not full, the program begins exe-
cution at location 004H.
Location 008H
This area is reserved for the time base interrupt
service program. If time base interrupt results
from a time base overflow, and if the interrupt is
enabled and the stack is not full, the program
begins execution at location 008H.
Location 00CH
This area is reserved for the real time clock in-
terrupt service program. If a real time clock
interrupt results from a real time clock over-
flow, and if the interrupt is enabled and the
stack is not full, the program begins execution
at location 00CH.
Location 010H
This area is reserved for the timer/event coun-
ter interrupt service program. If a timer inter-
rupt results from a timer/event counter A or B
overflow, and if the interrupt is enabled and
the stack is not full, the program begins exe-
cution at location 010H.
Table location
Any location in the ROM space can be used as
look up tables. The instructions TABRDC [m]
(the current page, 1 page=256 words) and
TABRDL [m] (the last page) transfer the con-
tents of the lower-order byte to the specified
S10~S0: Stack register bits
Mode
*10
#10
S10
*10
0
0
0
0
0
Program counter
#9
S9
*9
*9
0
0
0
0
0
10
S8
*8
*8
#8
0
0
0
0
0
#10~#0: Instruction code bits
@7~@0: PCL bits
data memory, and the higher-order byte to
TBLH (08H). Only the destination of the
lower-order byte in the table is well-defined,
the higher-order byte of the table word are
trans ferred to th e TBL H. Th e tabl e
higher-order byte register (TBLH) is read
only. The table pointer (TBLP) is a read/write
register (07H), which indicates the table loca-
tion. Before accessing the table, the location
@7
#7
S7
*7
0
0
0
0
0
Program Counter
@6
S6
*6
#6
0
0
0
0
0
PC+2
@5
S5
*5
#5
Program memory
0
0
0
0
0
@4
#4
S4
*4
0
0
0
0
1
@3
S3
*3
#3
0
0
1
1
0
@2
S2
*2
#2
January 18, 2000
0
1
0
1
0
HT47C20
@1
*1
#1
S1
0
0
0
0
0
@0
S0
*0
#0
0
0
0
0
0

Related parts for HT47C20