EasyManua.ls Logo

Holtek HT66F30 - Special Vectors; Look-�P Table

Default Icon
294 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Rev. 2.50 30 June 22, 2017 Rev. 2.50 31 June 22, 2017
HT66F20/HT66F30/HT66F40/HT66F50/HT66F60
HT66FU30/HT66FU40/HT66FU50/HT66FU60
A/D Flash MCU with EEPROM
HT66F20/HT66F30/HT66F40/HT66F50/HT66F60
HT66FU30/HT66FU40/HT66FU50/HT66FU60
A/D Flash MCU with EEPROM
Special Vectors
WithintheProgramMemory,certainlocationsarereservedfortheresetandinterrupts.Thelocation
0000Hisreservedforusebythedeviceresetforprograminitialisation.Afteradeviceresetis
initiated,theprogramwilljumptothislocationandbeginexecution.
Look-up Table
AnylocationwithintheProgramMemorycanbedenedasalook-uptablewhereprogrammerscan
storexeddata.Tousethelook-uptable,thetablepointermustrstbesetupbyplacingtheaddress
ofthelookupdatatoberetrievedinthetablepointerregister,TBLPandTBHP.Theseregisters
denethetotaladdressofthelook-uptable.
Aftersettingupthetablepointer,thetabledatacanberetrievedfromtheProgramMemoryusing
the"TABRD[m]"or"TABRDL[m]"instructions,respectively.Whentheinstructionisexecuted,
thelowerordertablebytefromtheProgramMemorywillbetransferredtotheuserdefined
DataMemoryregister[m]asspecifiedintheinstruction.Thehigherordertabledatabytefrom
theProgramMemorywillbetransferredtotheTBLHspecialregister.Anyunusedbitsinthis
transferredhigherorderbytewillbereadas"0".
Theaccompanyingdiagramillustratestheaddressingdataowofthelook-uptable.
R egister T BLH
User S electe d
R egister
High Byte Low B yte
TBLP R egister
Data
A ddress
14~16 bits
 
Last page or
TBHP R egis te r

Table of Contents

Other manuals for Holtek HT66F30

Related product manuals