поискавой системы для электроныых деталей |
|
HT46R002 датащи(PDF) 63 Page - Holtek Semiconductor Inc |
|
HT46R002 датащи(HTML) 63 Page - Holtek Semiconductor Inc |
63 / 83 page Rev. 1.21 62 April 11, 2017 Rev. 1.21 63 April 11, 2017 HT46R002/HT46R003 Cost-Effective A/D 8-Bit OTP MCU HT46R002/HT46R003 Cost-Effective A/D 8-Bit OTP MCU 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. |
Аналогичный номер детали - HT46R002 |
|
Аналогичное описание - HT46R002 |
|
|
ссылки URL |
Конфиденциальность |
ALLDATASHEETRU.COM |
Вашему бизинису помогли Аллдатащит? [ DONATE ] |
Что такое Аллдатащит | реклама | контакт | Конфиденциальность | обмен ссыками | поиск по производителю 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 |