HT46R62 Holtek Semiconductor Inc., HT46R62 Datasheet - Page 8

no-image

HT46R62

Manufacturer Part Number
HT46R62
Description
Ht46r62/ht46c62 -- A/d With Lcd Type 8-bit Mcu
Manufacturer
Holtek Semiconductor Inc.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
HT46R62
Quantity:
26
The lower byte of the PC (PCL) is a readable and
writeable register (06H). Moving data into the PCL per-
forms a short jump. The destination is within 256 loca-
tions.
When a control transfer takes place, an additional
dummy cycle is required.
Program Memory - EPROM
The program memory (EPROM) is used to store the pro-
gram instructions which are to be executed. It also con-
tains data, table, and interrupt entries, and is organized
into 2048´14 bits which are addressed by the program
counter and table pointer.
Certain locations in the ROM are reserved for special
usage:
·
·
Note: *10~*0: Table location bits
Rev. 1.70
TABRDC [m]
TABRDL [m]
Location 000H
Location 000H is reserved for program initialization.
After chip reset, the program always begins execution
at this location.
Location 004H
Location 004H is reserved for the external interrupt
service program. If the INT0 input pin is activated, and
the interrupt is enabled, and the stack is not full, the
program begins execution at location 004H.
Instruction(s)
@7~@0: Table pointer bits
Program Memory
P10
*10
1
P9
*9
1
P8
*8
1
@7
@7
*7
Table Location
@6
@6
8
*6
Table Location
·
·
·
·
·
P10~P8: Current program counter bits
Location 008H
Location 008H is reserved for the external interrupt
service program also. If the INT1 input pin is activated,
and the interrupt is enabled, and the stack is not full,
the program begins execution at location 008H.
Location 00CH
Location 00CH is reserved for the Timer/Event Coun-
ter interrupt service program. If a timer interrupt re-
sults from a Timer/Event Counter overflow, and if the
interrupt is enabled and the stack is not full, the pro-
gram begins execution at location 00CH.
Location 014H
Location 014H is reserved for the Time Base interrupt
service program. If a Time Base interrupt occurs, and
the interrupt is enabled, and the stack is not full, the
program begins execution at location 014H.
Location 018H
Location 018H is reserved for the real time clock inter-
rupt service program. If a real time clock interrupt oc-
curs, and the interrupt is enabled, and the stack is not
full, the program begins execution at location 018H.
Table location
Any location in the ROM can be used as a look-up ta-
ble. The instructions ²TABRDC [m]² (the current page,
1 page=256 words) and ²TABRDL [m]² (the last page)
transfer the contents of the lower-order byte to the
specified data memory, and the contents of the
higher-order byte to TBLH (Table Higher-order byte
register) (08H). Only the destination of the lower-order
byte in the table is well-defined; the other bits of the ta-
ble word are all transferred to the lower portion of
TBLH and the remaining 1 bit is read as ²0². The
TBLH is read only, and the table pointer (TBLP) is a
read/write register (07H), indicating the table location.
Before accessing the table, the location should be
placed in TBLP. All the table related instructions re-
quire 2 cycles to complete the operation. These areas
may function as a normal ROM depending upon the
user¢s requirements.
@5
@5
*5
@4
@4
*4
@3
@3
*3
HT46R62/HT46C62
@2
@2
*2
February 14, 2006
@1
@1
*1
@0
@0
*0

Related parts for HT46R62