DatasheetQ Logo
Electronic component search and free download site. Transistors,MosFET ,Diode,Integrated circuits

HT49R50 Ver la hoja de datos (PDF) - Holtek Semiconductor

Número de pieza
componentes Descripción
Fabricante
HT49R50
Holtek
Holtek Semiconductor Holtek
HT49R50 Datasheet PDF : 59 Pages
First Prev 11 12 13 14 15 16 17 18 19 20 Next Last
HT49R50
· Location 014H
Location 014H is reserved for the Time Base
interrupt service program. If a Time Base in-
terrupt 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 interrupt service program. If a real time
clock interrupt occurs, 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 table. 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 ta-
ble is well-defined; the other bits of the table
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.
Stack register - STACK
The stack register is a special part of the mem-
ory used to save the contents of the PC. The
stack is organized into 6 levels and is neither
part of the data nor part of the program, and is
neither readable nor writeable. Its activated
level is indexed by a stack pointer (SP) and is
neither readable nor writeable. At a commence-
ment of a subroutine call or an interrupt ac-
knowledgment, the contents of the PC is
pushed onto the stack. At the end of the subrou-
tine or interrupt routine, signaled by a return
instruction (RET or RETI), the contents of the
PC is restored to its previous value from the
stack. After chip reset, the SP will point to the
top of the stack.
If the stack is full and a non-masked interrupt
takes place, the interrupt request flag is re-
corded but the acknowledgment is still inhib-
ited. Once the SP is decremented (by RET or
RETI), the interrupt is serviced. This feature
prevents stack overflow, allowing the program-
mer to use the structure easily. Likewise, if the
stack is full, and a "CALL" is subsequently exe-
cuted, a stack overflow occurs and the first en-
try is lost (only the most recent six return
addresses are stored).
Data memory - RAM
The data memory (RAM) is designed with
192´8 bits, and is divided into two functional
groups, namely special function registers and
general purpose data memory, most of which
are readable/writeable, although some are read
only.
Table Location
Instruction(s)
*11 *10 *9 *8 *7 *6 *5 *4 *3 *2 *1 *0
TABRDC [m] P11 P10 P9 P8 @7 @6 @5 @4 @3 @2 @1 @0
TABRDL [m]
11
1
1 @7 @6 @5 @4 @3 @2 @1 @0
Note: *11~*0: Table location bits
@7~@0: Table pointer bits
Table location
P11~P8: Current program Counter bits
11
October 22, 1999

Share Link: 

datasheetq.com  [ Privacy Policy ]Request Datasheet ] [ Contact Us ]