| Electronic Components Datasheet Search |
|
HT66F006 Datasheet(PDF) 92 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT66F006 Datasheet(HTML) 92 Page - Holtek Semiconductor Inc |
|
92 / 109 page ![]() Rev. 1.30 9� ���i� ��� �01� Rev. 1.30 93 ���i� ��� �01� HT66F005/HT66F006 Cost-Effective A/D Flash MCU with EEPROM HT66F005/HT66F006 Cost-Effective A/D Flash MCU with EEPROM Instruction Set Introduction Centraltothesuccessfuloperationofanymicrocontrollerisitsinstructionset,whichisasetof programinstructioncodesthatdirectsthemicrocontrollertoperformcertainoperations.Inthecase ofHoltekmicrocontroller,acomprehensiveandflexiblesetofover60instructionsisprovidedto enableprogrammerstoimplementtheirapplicationwiththeminimumofprogrammingoverheads. Foreasierunderstandingofthevariousinstructioncodes,theyhavebeensubdividedintoseveral functionalgroupings. Instruction Timing Mostinstructionsareimplementedwithinoneinstructioncycle.Theexceptionstothisarebranch, call,ortablereadinstructionswheretwoinstructioncyclesarerequired.Oneinstructioncycleis equalto4systemclockcycles,thereforeinthecaseofan8MHzsystemoscillator,mostinstructions wouldbeimplementedwithin0.5μsandbranchorcallinstructionswouldbeimplementedwithin 1μs.Althoughinstructionswhichrequireonemorecycletoimplementaregenerallylimitedto theJMP,CALL,RET,RETIandtablereadinstructions,itisimportanttorealizethatanyother instructionswhichinvolvemanipulationoftheProgramCounterLowregisterorPCLwillalsotake onemorecycletoimplement.AsinstructionswhichchangethecontentsofthePCLwillimplya directjumptothatnewaddress,onemorecyclewillberequired.Examplesofsuchinstructions wouldbe“CLRPCL”or“MOVPCL,A”.Forthecaseofskipinstructions,itmustbenotedthatif theresultofthecomparisoninvolvesaskipoperationthenthiswillalsotakeonemorecycle,ifno skipisinvolvedthenonlyonecycleisrequired. Moving and Transferring Data Thetransferofdatawithinthemicrocontrollerprogramisoneofthemostfrequentlyused operations.MakinguseofthreekindsofMOVinstructions,datacanbetransferredfromregistersto theAccumulatorandvice-versaaswellasbeingabletomovespecificimmediatedatadirectlyinto theAccumulator.Oneofthemostimportantdatatransferapplicationsistoreceivedatafromthe inputportsandtransferdatatotheoutputports. Arithmetic Operations Theabilitytoperformcertainarithmeticoperationsanddatamanipulationisanecessaryfeatureof mostmicrocontrollerapplications.WithintheHoltekmicrocontrollerinstructionsetarearangeof addandsubtractinstructionmnemonicstoenablethenecessaryarithmetictobecarriedout.Care mustbetakentoensurecorrecthandlingofcarryandborrowdatawhenresultsexceed255for additionandlessthan0forsubtraction.TheincrementanddecrementinstructionsINC,INCA,DEC andDECAprovideasimplemeansofincreasingordecreasingbyavalueofoneofthevaluesinthe destinationspecified. |
|
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 |