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

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

部品番号
コンポーネント説明
メーカー
HT46R343 Datasheet PDF : 40 Pages
1 2 3 4 5 6 7 8 9 10 Next Last
HT46R343
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 is divided into two functional groups:
special function registers and general purpose data
memory. The general purpose memory has a structure
of 192´8 bits. 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 40H to FFH, 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.
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.
The memory pointer register, MP, is a 8-bit register.
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.
Arithmetic and Logic Unit - ALU
This circuit performs 8-bit arithmetic and logic opera-
tions. The ALU provides the following functions:
· Arithmetic operations - ADD, ADC, SUB, SBC, DAA
· Logic operations - AND, OR, XOR, CPL
· Rotation - RL, RR, RLC, RRC
· Increment and Decrement - INC, DEC
· Branch decision - SZ, SNZ, SIZ, SDZ ....
The ALU not only saves the results of a data operation but
also changes the status register.
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 0
0C H
0D H
TM R 0
0E H
TM R 0C
0FH
10H
TM R 1
11H
TM R 1C
12H
PA
13H
PAC
14H
PB
15H
PBC
16H
PC
17H
PCC
18H
PD
19H
PDC
1A H
PE
1B H
PEE
1C H
PW M 0
1D H
PW M 1
1E H
IN T C 1
1FH
O PAC
20H
ADRL
21H
ADRH
22H
ADCR
23H
ACSR
24H
S p e c ia l P u r p o s e
D a ta M e m o ry
:U nused
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
R e a d a s "0 0 "
RAM Mapping
Rev. 1.00
9
October 11, 2007

Share Link: 

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