
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 instruc-
tions. 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 recom-
mended that simultaneous use of the table read instructions should be avoided. However, in situa-
tions where simultaneous use cannot be avoided, the interrupts should be disabled prior to the
execution of any main routine table-read instructions. Note that all table related instructions re-
quire two instruction cycles to complete their operation.
Instruction
Table Location Bits
b10
b9
b8
b7
b6
b5
b4
b3
b2
b1
b0
TABRDC [m]
PC10
PC9
PC8
@7
@6
@5
@4
@3
@2
@1
@0
TABRDL [m]
1
1
1
@7
@6
@5
@4
@3
@2
@1
@0
Note
1. PC10~PC8: Current Program Counter bits
2. @7~@0: Table Pointer TBLP bits
3. For the HT48R05A-1/HT48C05, the Table address location is 9 bits, i.e. from b8~b0.
4. For the HT48R06A-1/HT48C06 and HT48R07A-1/HT48C07, the Table address location
is 10 bits, i.e. from b9~b0.
5. For the HT48R08A-1/HT48C08 and HT48R09A-1/HT48C09, the Table address location
is 11 bits, i.e. from b10~b0.
Data Memory
The Data Memory is a volatile area of 8-bit wide RAM internal memory and is the location where
temporary information 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 neces-
sary 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.
Organization
The two sections of Data Memory, the Special Purpose and General Purpose Data Memory are lo-
cated at consecutive locations. All are implemented in RAM and are 8 bits wide but the length of
each memory section is dictated by the type of microcontroller chosen. The start address of the
Data Memory for all devices is the address
²
00H
²
. Registers which are common to all
microcontrollers, such as ACC, PCL, etc., have the same Data Memory address.
Chapter 1 Hardware Structure
17
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 0 H
7 F H
1 F H
G e n e r a l P u r p o s e
D a t a M e m o r y
Содержание HT48R05A-1
Страница 7: ...vi Cost Effective I O Type MCU...
Страница 8: ...P a r t I Microcontroller Profile Part I Microcontroller Profile 1...
Страница 9: ...2 Cost Effective I O Type MCU...
Страница 52: ...P a r t I I Programming Language Part II Programming Language 45...
Страница 53: ...46 Cost Effective I O Type MCU...
Страница 59: ...52 Cost Effective I O Type MCU...
Страница 90: ...P a r t I I I Development Tools Part III Development Tools 83...
Страница 91: ...84 Cost Effective I O Type MCU...
Страница 101: ...94 Cost Effective I O Type MCU...
Страница 104: ...Appendix Appendix 97...
Страница 105: ...98 Cost Effective I O Type MCU...
Страница 115: ...108 Cost Effective I O Type MCU...
Страница 116: ...A p p e n d i x B Package Information Appendix B Package Information 109 B...
Страница 123: ...116 Cost Effective I O Type MCU...
Страница 125: ...Amendments...