| Electronic Components Datasheet Search |
|
HT37B70 Datasheet(PDF) 13 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT37B70 Datasheet(HTML) 13 Page - Holtek Semiconductor Inc |
|
13 / 80 page ![]() HT37B90/HT37B70/HT37B50/HT37B30 Rev.1.00 13 June22,2017 tempreg1 db ? ; temporary register #1 tempreg2 db ? ; temporary register #2 tempreg3 db ? ; temporary register #3 tempreg4 db ? ; temporary register #4 : : mov a,01h ; set ROM bank 1 point mov bp1,a mov a,06h ; initialise table pointer mov tblp1,a ; to the last page clr tbmpl clr tbhpl : : tabrdl tempreg1 ; transfers value in table referenced by table pointer ; to tempregl ; data at prog. memory address ²3F06H² transferred to ; tempreg1 and TBLH dec tblp1 ; reduce value of table pointer by one tabrdl tempreg2 ; transfers value in table referenced by table pointer ; to tempreg2 ; data at prog.memory address ²3F05H² 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 : : mov a,04h ; initialise table pointer low byte mov tblp1,a ; mov a,3Fh ; initialise table pointer middle byte mov tbmp1,a mov a,00h ; initialise table pointer high byte mov tbhp1,a tabrdc tempreg3 ; : : rombank 1 romsumvalue1; sets rombank 1 initial address of last page ;(for HT37B90/70/50/30) romsumvalue1 .section at 1F00h ¢code¢ dc 00Ah, 00Bh, 00Ch, 00Dh, 00Eh, 00Fh, 01Ah, 01Bh : : Instruction TableLocationBits b18~b13 b12~b8 b7 b6 b5 b4 b3 b2 b1 b0 TABRDC [m] TBHP1_2~TBMP1_5 TBMP1_4~TBMP1_0 @7 @6 @5 @4 @3 @2 @1 @0 TABRDL [m] BP1_5~BP1_0 11111 @7 @6 @5 @4 @3 @2 @1 @0 TableLocation Note: @7~@0:Tablepointerlower-orderbitsareTBLP1[7:0] b17~b0:CurrentprogramROMtableaddressA [18:0] TBMP1_4~TBMP1_0:TBMP1bit4~0 TBHP1_2~TBMP1_5:TBHP1(bit2~0)toTBMP1(bit7~5) BP1_5~BP1_0:BitsofbankBP1bit0~5 FortheHT37B90,theTableaddresslocationis19bitswide, i.e.fromb18~b0. FortheHT37B70,theTableaddresslocationis18bitswide, i.e.fromb17~b0. FortheHT37B50,theTableaddresslocationis17bitswide, i.e.fromb16~b0. FortheHT37B30,theTableaddresslocationis16bitswide, i.e.fromb15~b0. |
|
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 |