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

HT46R01 데이터 시트보기 (PDF) - Holtek Semiconductor

부품명
상세내역
제조사
HT46R01
Holtek
Holtek Semiconductor Holtek
HT46R01 Datasheet PDF : 60 Pages
First Prev 11 12 13 14 15 16 17 18 19 20 Next Last
HT46R01/HT46R02/HT46R03
H T46R 01
0 0 H In d ir e c t A d d r e s s in g R e g is te r 0
01H
M P0
0 2 H In d ir e c t A d d r e s s in g R e g is te r 1
03H
M P1
04H
05H
ACC
06H
PCL
07H
TB LP
08H
TB LH
09H
W D TS
0A H
STATU S
0B H
IN T C 0
0C H
0D H
TM R 0
0E H
TM R 0C
0FH
10H
11H
12H
PA
13H
PAC
14H
PAPU
15H
PAW K
16H
C TR L0
17H
C TR L1
18H
19H
ADR
1A H
ADCR
1B H
ACSR
1C H
PW M
1D H
1E H
1FH
20H
G e n e ra l P u rp o s e
D a ta M e m o ry
(6 4 B y te s )
5FH
00H
01H
02H
03H
04H
05H
06H
07H
08H
09H
0A H
0B H
0C H
0D H
0E H
S p e c ia l P u r p o s e 0 F H
D a ta M e m o ry
10H
11H
12H
13H
14H
15H
16H
17H
18H
19H
1A H
1B H
1C H
1D H
1E H
1FH
20H
:U nused,
re a d a s "0 0 "
7FH
H T46R 02
In d ir e c t A d d r e s s in g R e g is te r 0
M P0
In d ir e c t A d d r e s s in g R e g is te r 1
M P1
ACC
PCL
TB LP
TB LH
W D TS
STATU S
IN T C 0
TM R 0
TM R 0C
TM R 1
TM R 1C
PA
PAC
PAPU
PAW K
C TR L0
C TR L1
ADRL
ADRH
ADCR
ACSR
PW M
IN T C 1
G e n e ra l P u rp o s e
D a ta M e m o ry
(9 6 B y te s )
00H
01H
02H
03H
04H
05H
06H
07H
08H
09H
0A H
0B H
0C H
0D H
0E H
S p e c ia l P u r p o s e 0 F H
D a ta M e m o ry
10H
11H
12H
13H
14H
15H
16H
17H
18H
19H
1A H
1B H
1C H
1D H
1E H
1FH
20H
:U nused,
re a d a s "0 0 "
BFH
Special Purpose Data Memory
H T46R 03
In d ir e c t A d d r e s s in g R e g is te r 0
M P0
In d ir e c t A d d r e s s in g R e g is te r 1
M P1
ACC
PCL
TB LP
TB LH
W D TS
STATU S
IN T C 0
TM R 0
TM R 0C
TM R 1
TM R 1C
PA
PAC
PAPU
PAW K
C TR L0
C TR L1
ADRL
ADRH
ADCR
ACSR
PW M
IN T C 1
G e n e ra l P u rp o s e
D a ta M e m o ry
(1 6 0 B y te s )
S p e c ia l P u r p o s e
D a ta M e m o ry
:U nused,
re a d a s "0 0 "
Memory Pointers - MP0, MP1
For all devices, two Memory Pointers, known as MP0 and MP1 are provided. These Memory Pointers are physically im-
plemented in the Data Memory and can be manipulated in the same way as normal registers providing a convenient way
with which to address and track data. When any operation to the relevant Indirect Addressing Registers is carried out, the
actual address that the microcontroller is directed to, is the address specified by the related Memory Pointer. For the
HT46R01 and HT46R02 devices, bit 7 of the Memory Pointers is not required to address the full memory space. It must
be noted that when bit 7 of the Memory Pointers for these devices is read, a value of ²1² will be returned. The following ex-
ample shows how to clear a section of four Data Memory locations already defined as locations adres1 to adres4.
data .section ¢data¢
adres1
db ?
adres2
db ?
adres3
db ?
adres4
db ?
block
db ?
code .section at 0 ¢code¢
org 00h
start:
mov a,04h
; setup size of block
mov block,a
mov a,offset adres1; Accumulator loaded with first RAM address
mov mp,a
; setup memory pointer with first RAM address
loop:
clr IAR
inc mp
sdz block
jmp loop
; clear the data at address defined by MP
; increment memory pointer
; check if last memory location has been cleared
continue:
The important point to note here is that in the example shown above, no reference is made to specific Data Memory ad-
dresses.
Rev. 1.00
12
September 21, 2007

Share Link: 

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