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

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

부품명
상세내역
제조사
HT46R48A
Holtek
Holtek Semiconductor Holtek
HT46R48A Datasheet PDF : 77 Pages
First Prev 11 12 13 14 15 16 17 18 19 20 Next Last
HT46R46/C46/R47/C47/R48A/C48A/R49
tempreg1 db ?
tempreg2 db ?
:
:
mov
a,06h
mov
tabrdl
tblp,a
:
:
tempreg1
dec
tblp
; temporary register #1
; temporary register #2
; initialise table pointer - note that this address
; is referenced
; to the last page or present page
; transfers value in table referenced by table pointer
; to tempregl
; data at prog. memory address ²706H² transferred to
; tempreg1 and TBLH
; reduce value of table pointer by one
tabrdl tempreg2
:
:
org
700h
; transfers value in table referenced by table pointer
; to tempreg2
; data at prog.memory address ²705H² transferred to
; tempreg2 and TBLH
; in this example the data ²1AH² is transferred to
; tempreg1 and data ²0FH² to register tempreg2
; the value ²00H² will be transferred to the high byte
; register TBLH
; sets initial address of last page (for HT46R47)
Dc
00Ah, 00Bh, 00Ch, 00Dh, 00Eh, 00Fh, 01Ah, 01Bh
:
:
Because the TBLH register is a read-only register and
cannot be restored, care should be taken to ensure its
protection if both the main routine and Interrupt Service
Routine use table read instructions. If using the table
read instructions, the Interrupt Service Routines may
change the value of the TBLH and subsequently cause
errors if used again by the main routine. As a rule it is
recommended that simultaneous use of the table read
instructions should be avoided. However, in situations
where simultaneous use cannot be avoided, the inter-
rupts should be disabled prior to the execution of any
main routine table-read instructions. Note that all table
related instructions require two instruction cycles to
complete their operation.
Data Memory
The Data Memory is a volatile area of 8-bit wide RAM
internal memory and is the location where temporary in-
formation is stored. Divided into two sections, the first of
these is an area of RAM where special function registers
are located. These registers have fixed locations and
are necessary for correct operation of the device. Many
of these registers can be read from and written to di-
rectly under program control, however, some remain
protected from user manipulation. The second area of
Data Memory is reserved for general purpose use. All
locations within this area are read and write accessible
under program control.
Table Location Bits
Instruction
b11 b10 b9
b8
b7
b6
b5
b4
b3
b2
b1
b0
TABRDC [m] PC11 PC10 PC9 PC8 @7 @6 @5 @4 @3 @2 @1 @0
TABRDL [m] 1
1
1
1
@7 @6 @5 @4 @3 @2 @1 @0
Table Location
Note:
PC11~PC8: Current Program Counter bits
@7~@0: Table Pointer TBLP bits
For the HT46R49 the Table address location is 12 bits, i.e. from b11~b0.
For the HT46R47 and HT46R48A, the Table address location is 11 bits, i.e. from b10~b0.
For the HT46R46, the Table address location is 10 bits, i.e. from b9~b0.
Rev. 1.30
12
June 5, 2008

Share Link: 

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