ht82k74e Holtek Semiconductor Inc., ht82k74e Datasheet - Page 10

no-image

ht82k74e

Manufacturer Part Number
ht82k74e
Description
27mhz Keyboard/ Mouse Tx 8-bit Mcu
Manufacturer
Holtek Semiconductor Inc.
Datasheet
Note:
Table Program Example
The following example shows how the table pointer and
table data is defined and retrieved from the
microcontroller. This example uses raw table data lo-
cated in the last page which is stored there using the
ORG statement. The value at this ORG statement is
within the 2K Program Memory of device. The table
pointer is setup here to have an initial value of 06H .
This will ensure that the first data read from the data ta-
Rev. 1.00
700H which refers to the start address of the last page
TABRDC[m]
TABRDL[m]
Instruction
PC10~PC8: Current program counter bits when TBHP is disabled
@7~@0: Table Pointer TBLP bits
Table Read - TBLP only
PC10
b10
1
TBHP register bit2~bit0 when TBHP is enabled
PC9
b9
1
PC8
b8
1
@7
@7
b7
Table Location
@6
@6
b6
Table Location Bits
10
ble will be at the Program Memory address 706H or 6
locations after the start of the last page. Note that the
value for the table pointer is referenced to the first ad-
dress of the present page if the TABRDC [m] instruc-
tion is being used. The high byte of the table data which
in this case is equal to zero will be transferred to the
TBLH register automatically when the TABRDL [m] in-
struction is executed.
@5
@5
b5
@4
@4
b4
Table Read - TBLP/TBHP
HT82K74E/HT82K74EE
@3
@3
b3
@2
@2
b2
December 15, 2009
@1
@1
b1
@0
@0
b0

Related parts for ht82k74e