| Electronic Components Datasheet Search |
|
HT46R069B Datasheet(PDF) 22 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT46R069B Datasheet(HTML) 22 Page - Holtek Semiconductor Inc |
|
22 / 135 page ![]() Rev. 1.50 �� �e���a�� 05� �015 Rev. 1.50 �3 �e���a�� 05� �015 HT46R068B/HT46R069B Enhanced A/D 8-Bit OTP MCU HT46R068B/HT46R069B Enhanced A/D 8-Bit OTP MCU Table Read Program Example rombank 3 code3 tempreg1 db ? ; temporary register #1 tempreg2 db ? ; temporary register #2 : : mov a, 060h mov bp, a ; select the last bank of prog. memory mov a, 06h ; initialise table pointer - note that this address is referenced mov tblp,a ; to the last page or present page mov a, 7fh ; initialise high table pointer ; HT46R069B ROM=32K, TBHP=7FH ; HT46R068B ROM=16K, TBHP=3FH mov tbhp, a ; it is not necessary to set tbhp if executing tabrdl : : tabrdc tempreg1 tabrdl tempreg1 ; transfers value in table referenced by table pointer to tempregl ; data at prog. memory address "7F06H" transferred to tempreg1 and TBLH dec tblp ; reduce value of table pointer by one tabrdc tempreg2 tabrdl tempreg2 ; transfers value in table referenced by table pointer to tempreg2 ; data at prog.memory address "7F05H" 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 : : Code3 .section `code` org 1F00h ; sets initial address of last page dc 00Ah, 00Bh, 00Ch, 00Dh, 00Eh, 00Fh, 01Ah, 01Bh : : |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |