| Electronic Components Datasheet Search |
|
HT46R92 Datasheet(PDF) 11 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT46R92 Datasheet(HTML) 11 Page - Holtek Semiconductor Inc |
|
11 / 61 page ![]() HT46R92 Rev. 1.10 11 November 5, 2008 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. Structure 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 address of the Data Memory for all devices is the ad- dress ²00H². Registers which are common to all microcontrollers, such as ACC, PCL, etc., have the same Data Memory address. General Purpose Data Memory All 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 Mem- ory is fully accessible by the user program for both read and write operations. By using the ²SET [m].i² and ²CLR [m].i ² instructions individual bits can be set or reset un- der program control giving the user a large range of flex- ibility for bit manipulation in the Data Memory. G e n e r a l P u r p o s e D a t a M e m o r y S p e c i a l P u r p o s e D a t a M e m o r y 0 0 H 2 8 H 7 F H 2 7 H Data Memory Structure Note: Most of the Data Memory bits can be directly manipulated using the ²SET [m].i² and ²CLR [m].i ² with the exception of a few dedicated bits. The Data Memory can also be accessed through the memory pointer registers MP0 and MP1. : U n u s e d , r e a d a s " 0 0 " I A R 0 M P 0 I A R 1 M P 1 A C C P C L T B L P T B L H S T A T U S I N T C 0 T M R T M R C P A P A C P B P B C P C P D P E P W M 0 P W M 1 I N T C 1 L C D C M O D E A D R L A D R H A D C R A C S R 0 0 H 0 1 H 0 2 H 0 3 H 0 4 H 0 5 H 0 6 H 0 7 H 0 8 H 0 9 H 0 A H 0 B H 0 C H 0 D H 0 E H 0 F H 1 0 H 1 1 H 1 2 H 1 3 H 1 4 H 1 5 H 1 6 H 1 7 H 1 8 H 1 9 H 1 A H 1 B H 1 C H 1 D H 1 E H 1 F H 2 0 H 2 1 H 2 2 H 2 3 H 2 4 H 2 5 H 2 6 H 2 7 H Special Purpose Data Memory |
|
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 |