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

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

부품명
상세내역
제조사
48R01A3
Holtek
Holtek Semiconductor Holtek
48R01A3 Datasheet PDF : 49 Pages
First Prev 11 12 13 14 15 16 17 18 19 20 Next Last
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
1A H
1B H
1C H
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
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 "
Special Purpose Data Memory
HT48R01A
Memory Pointers - MP0, MP1
Two Memory Pointers, known as MP0 and MP1 are pro-
vided. These Memory Pointers are physically imple-
mented in the Data Memory and can be manipulated in
the same way as normal registers providing a conve-
nient way with which to address and track data. When
any operation to the relevant Indirect Addressing Regis-
ters is carried out, the actual address that the
microcontroller is directed to, is the address specified by
the related Memory Pointer, 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 example 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 mp0,a
; setup memory pointer with first RAM address
loop:
clr IAR0
inc mp0
sdz block
jmp loop
; clear the data at address defined by MP0
; 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.10
11
August 4, 2008

Share Link: 

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