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

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

부품명
상세내역
제조사
HT46R016
Holtek
Holtek Semiconductor Holtek
HT46R016 Datasheet PDF : 91 Pages
First Prev 11 12 13 14 15 16 17 18 19 20 Next Last
HT46R016/HT46R017
Enhanced A/D 8-Bit OTP MCU
Table Location Bits
Instruction
b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0
TABRDC [m] PC10 PC9 PC8 @7 @6 @5 @4 @3 @2 @1 @0
TABRDL [m]
1
1
1 @7 @6 @5 @4 @3 @2 @1 @0
Table Location
Note: PC10~PC8: Current Program Counter bits
@7~@0: Table Pointer TBLP bits
For the HT46R016, the Table address location is 10 bits, i.e. from b9~b0.
For the HT46R017, the Table address location is 11 bits, i.e. from b10~b0.
Table Read Program Example:
tempreg1 db ?
; temporary register #1
tempreg2 db ?
; temporary register #2
:
:
mov a,06h
; initialise table pointer – note that this address
; is referenced
mov tblp, a
; to the last page or present page
:
:
tabrdl tempreg1 ; transfers value in table referenced by table pointer
; to tempreg1 data at prog.memory address “306H”
; transferred to to tempreg1 and TBLH
dec tblp
; reduce value of table pointer by one
tabrdl tempreg2 ; transfers value in table referenced by table pointer
; to tempreg2 data at prog.memory address “305H”
; 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
:
:
org 300h
; sets initial address of last page
dc 00Ah, 00Bh, 00Ch, 00Dh, 00Eh, 00Fh, 01Ah, 01Bh
:
:
Rev. 1.00
17
July 16, 2012

Share Link: 

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