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

HT46R32 データシートの表示(PDF) - Holtek Semiconductor

部品番号
コンポーネント説明
メーカー
HT46R32
Holtek
Holtek Semiconductor Holtek
HT46R32 Datasheet PDF : 43 Pages
1 2 3 4 5 6 7 8 9 10 Next Last
HT46R32/HT46R34
in the ISR. In such a case errors can occur. Therefore,
using the table read instruction in the main routine and
the ISR simultaneously should be avoided. However,
if the table read instruction has to be used in both the
main routine and the ISR, the interrupt is should be
disabled prior to the table read instruction. It should
not be re-enabled until the TBLH has been backed up.
All table related instructions require two cycles to
complete their operation. These areas may function
as normal program memory depending upon require-
ments.
Stack Register - STACK
This is a special part of the memory which is used to
save the contents of the program counter only. The
stack is organized into 6 levels and is neither part of the
data nor part of the program space, and is neither read-
able nor writeable. The activated level is indexed by the
stack pointer, known as stack pointer, and is also neither
readable nor writeable. At a subroutine call or interrupt
acknowledgment, the contents of the program counter
are pushed onto the stack. At the end of a subroutine or
an interrupt routine, signaled by a return instruction,
RET or RETI, the program counter is restored to its pre-
vious value from the stack. After a device reset, the
stack pointer will point to the top of the stack.
If the stack is full and a non-masked interrupt takes
place, the interrupt request flag will be recorded but the
acknowledgment will be inhibited. When the stack
pointer is decremented, using a RET or RETI instruc-
tion, the interrupt will be serviced. This feature prevents
a stack overflow allowing the programmer to use the
structure more easily. In a similar case, if the stack is full
and a ²CALL² is subsequently executed, stack overflow
occurs and the first entry will be lost. Only the most re-
cent 6 return addresses are stored.
Data Memory - RAM
The data memory has a structure of 110´8 bits for the
HT46R32 device and 215 x 8 bits for the HT46R34 de-
vice. The data memory is divided into two functional
groups: special function registers and general purpose
data memory. The general purpose memory has a
structure of 88 x 8 bits for the HT46R32 device and
192bits x 8 bits for the HT46R34 device. Most locations
are read/write, but some are read only.
The remaining space between the end of the Special
Purpose Data Memory and the beginning of the General
Purpose Data Memory is reserved for future expanded
usage, reading these locations will obtain a result of
²00H². The general purpose data memory, addressed
from 28H to 7FH in the HT46R32, and from 40H to FFH
in the HT46R34, is used for user data and control infor-
mation under instruction commands. All of the data
memory areas can handle arithmetic, logic, increment,
decrement and rotate operations directly. Except for
some dedicated bits, each bit in the data memory can
be set and reset by the ²SET [m].i² and ²CLR [m].i² in-
structions. They are also indirectly accessible through
memory pointer register, MP.
00H
In d ir e c t A d d r e s s in g R e g is te r
01H
MP
02H
03H
04H
05H
ACC
06H
PCL
07H
TB LP
08H
TB LH
09H
0A H
STATU S
0B H
IN T C
0C H
0D H
TM R
0E H
TM R C
0FH
10H
11H
12H
PA
13H
PAC
14H
PB
15H
PBC
16H
17H
18H
PD
19H
PDC
1A H
1B H
1C H
PW M 0
1D H
PW M 1
1E H
1FH
O PAC
20H
ADRL
21H
ADRH
22H
ADCR
23H
ACSR
H T 4 6 R 3 2 /H T 4 6 R 3 4
24H
S p e c ia l P u r p o s e
D a ta M e m o ry
:U nused
R e a d a s "0 0 "
24H
27H
28H
G e n e ra l P u rp o s e
D a ta M e m o ry
(8 8 B y te s )
7FH
H T46R 32
39H
40H
G e n e ra l P u rp o s e
D a ta M e m o ry
(1 9 2 B y te s )
FFH
H T46R 34
RAM Mapping
Indirect Addressing Register
Location 00H is an indirect addressing register that is
not physically implemented. Any read/write operation on
[00H] accesses data memory pointed to by the MP
register. Reading location 00H itself indirectly will return
the result 00H. Writing indirectly results in no operation.
For the HT46R32 device the memory pointer register, MP,
is a 7-bit register, while for the HT46R34 device it is an
8-bit register. For the HT46R32 device, bit 7 of MP is un-
defined and if read will return the result ²1², any write op-
eration will only transfer the lower 7-bits of data to MP.
Accumulator
The accumulator is closely related to ALU operations
and can carry out immediate data operations. Any data
movement between two data memory locations must
pass through the accumulator.
Rev. 1.10
8
March 16, 2007

Share Link: 

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