| công cụ tìm kiếm bảng dữ liệu linh kiện điện tử |
|
HT46CU26 bảng dữ liệu(PDF) 13 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT46CU26 bảng dữ liệu(HTML) 13 Page - Holtek Semiconductor Inc |
|
13 / 86 page ![]() HT46RU26/HT46CU26 Rev. 1.00 13 June 12, 2008 include HT46RU26.inc : : data .section ¢data¢ temp db ? : : rombank 0 codesec0 ; Bank 0 definition rombank 1 codesec1 ; Bank 1 definition : : codesec0 .section at 0 code jmp start : org 010h start: : : mov a,020h ; setup table high byte address mov tbhp,a : : mov a,005h ; setup table low byte address mov tblp,a ; table pointer address is now 2005H tabrdc temp ; read table data from PC address 2005H nop ; FFH will be placed in the temp ; register and 55H will be placed in the TBLH register codesec1 .section at 000h code ; Bank 1 code located here org 0000h ; this defines the offset from the start address of Bank 1 ; which is 2000H dc 000AAh, 011BBh, 022CCh, 033DDh, 044EEh, 055FFh : : 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. This General Purpose area of the Data Memory is divided into four separate banks, known as Bank 0~Bank 3. Switching between banks is accomplished by setting the Bank Pointer to the correct value. Instruction Table Location Bits b14~b8 b7 b6 b5 b4 b3 b2 b1 b0 TABRDC [m] TBHP @7 @6 @5 @4 @3 @2 @1 @0 TABRDL [m] 1111111 @7 @6 @5 @4 @3 @2 @1 @0 Table Location Note: PC14~PC8: Current Program Counter bits @7~@0: Table Pointer TBLP bits |
|
Link URL |
| Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không? [ DONATE ] |
Alldatasheet là | Quảng cáo | Liên lạc với chúng tôi | Chính sách bảo mật | Liên kết đến bảng dữ liệu | Trao đổi link | Tìm kiếm theo nhà sản xuất 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 |