| công cụ tìm kiếm bảng dữ liệu linh kiện điện tử |
|
HT95R24 bảng dữ liệu(PDF) 10 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT95R24 bảng dữ liệu(HTML) 10 Page - Holtek Semiconductor Inc |
|
10 / 53 page ![]() HT95R24 Rev. 1.00 10 February 17, 2009 Data Memory The Data Memory is a volatile area of 8-bit wide RAM in- ternal 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 RAM Data Memory is reserved for general purpose use. All locations within this area are read and write accessi- ble under program control. Structure The Special Purpose and General Purpose Data Mem- ory are located at consecutive locations. All are imple- mented in RAM and are 8 bits wide. The start address of the Data Memory is the address 00H. Registers which are common to all microcontrollers, such as ACC, PCL, etc., have the same Data Memory address. Note that af- ter power-on, the contents of the Data Memory, will be in an unknown condition, the programmer must therefore ensure that the Data Memory is properly initialised. The Special Purpose Data Memory is located in Bank 0 while the General Purpose Data Memory is divided into 11 individual areas or Banks known as Bank 0 to Bank 10. Switching between different banks is achieved by setting the Bank Pointer to the correct value. 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 tempregl ; data at prog. memory address ²1F06H² transferred 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 ²1F05H² transferred to ; tempreg2 and TBLH ; in this example the data ²1AH² is transferred to ; tempreg1 and data ²0FH² to register tempreg2 ; the value ²0FH² will be transferred to the high byte ; register TBLH : : org 1F00h ; sets initial address of HT95R24 last page dc 00Ah, 00Bh, 00Ch, 00Dh, 00Eh, 00Fh, 01Ah, 01Bh : : B a n k 1 0 0 0 H 4 0 H F F H 3 F H B a n k 3 B a n k 2 B a n k 1 B a n k 0 S p e c i a l P u r p o s e D a t a M e m o r y B a n k 0 G e n e r a l P u r p o s e D a t a M e m o r y B a n k 1 ~ 1 0 G e n e r a l P u r p o s e D a t a M e m o r y Data Memory Structure |
|
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 |