Moteur de recherche de fiches techniques de composants électroniques |
|
HT46R064 Fiches technique(PDF) 19 Page - Holtek Semiconductor Inc |
|
HT46R064 Fiches technique(HTML) 19 Page - Holtek Semiconductor Inc |
19 / 101 page HT46R064/065/066/0662/067 Rev. 1.30 19 January 22, 2013 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 tempregl ; data at prog. memory address ²306H² 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 ²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 : : 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. Structure 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 cor- rect operation of the device. Many of these registers can be read from and written to directly under program con- trol, however, some remain protected from user manipu- lation. 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. Device Capacity Banks HT46R064 64 ´8 ¾ HT46R065 96 ´8 ¾ HT46R066 128 ´8 ¾ HT46R0662 224 ´8 0, 1 HT46R067 384 ´8 0, 1 The two sections of Data Memory, the Special Purpose and General Purpose Data Memory are located at con- secutive locations. All are implemented in RAM and are 8 bits wide but the length of each memory section is dic- tated by the type of microcontroller chosen. The start ad- dress of the Data Memory for all devices is the address ²00H². All microcontroller programs require an area of read/write memory where temporary data can be stored and retrieved for use later. It is this area of RAM memory that is known as General Purpose Data Memory. This area of Data Memory is fully accessible by the user pro- gram for both read and write operations. By using the ²SET [m].i² and ²CLR [m].i² instructions individual bits can be set or reset under program control giving the user a large range of flexibility for bit manipulation in the Data Memory. For some devices, the Data Memory is subdivided into two banks, which are selected using a Bank Pointer. Only data in Bank 0 can be directly addressed, data in Bank 1 must be indirectly addressed. |
Numéro de pièce similaire - HT46R064_13 |
|
Description similaire - HT46R064_13 |
|
|
Lien URL |
Politique de confidentialité |
ALLDATASHEET.FR |
ALLDATASHEET vous a-t-il été utile ? [ DONATE ] |
À propos de Alldatasheet | Publicité | Contactez-nous | Politique de confidentialité | Echange de liens | Fabricants 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 |