| 전자부품 데이터시트 검색엔진 |
|
HT66F005 데이터시트(PDF) 92 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT66F005 데이터시트(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. |
|
링크 URL |
| ALLDATASHEET 가 귀하에 도움이 되셨나요? [ DONATE ] |
Alldatasheet는? | 광고문의 | 운영자에게 연락하기 | 개인정보취급방침 | 링크 투 데이터시트 | 링크교환 | 제조사별 검색 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 |