| поискавой системы для электроныых деталей |
|
HT45F2020 датащи(PDF) 14 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT45F2020 датащи(HTML) 14 Page - Holtek Semiconductor Inc |
|
14 / 85 page ![]() Rev. 1.00 14 April 11, 2017 Rev. 1.00 15 April 11, 2017 HT45F2020/HT45F2022 Sound Effect Generator Flash MCU HT45F2020/HT45F2022 Sound Effect Generator Flash MCU ThelowerbyteoftheProgramCounter,knownastheProgramCounterLowregisterorPCL,is availableforprogramcontrolandisareadableandwriteableregister.Bytransferringdatadirectly intothisregister,ashortprogramjumpcanbeexecuteddirectly.However,asonlythislowbyte isavailableformanipulation,thejumpsarelimitedtothepresentpageofmemorythatis256 locations.Whensuchprogramjumpsareexecuteditshouldalsobenotedthatadummycycle willbeinserted.ManipulatingthePCLregistermaycauseprogrambranching,soanextracycleis neededtopre-fetch. Stack ThisisaspecialpartofthememorywhichisusedtosavethecontentsoftheProgramCounter only.Thestackisorganizedinto2levelsandneitherpartofthedatanorpartoftheprogramspace, andisneitherreadablenorwriteable.TheactivatedlevelisindexedbytheStackPointer,andis neitherreadablenorwriteable.Atasubroutinecallorinterruptacknowledgesignal,thecontentsof theProgramCounterarepushedontothestack.Attheendofasubroutineoraninterruptroutine, signaledbyareturninstruction,RETorRETI,theProgramCounterisrestoredtoitspreviousvalue fromthestack.Afteradevicereset,theStackPointerwillpointtothetopofthestack. Ifthestackisfullandanenabledinterrupttakesplace,theinterruptrequestflagwillberecordedbut theacknowledgesignalwillbeinhibited.WhentheStackPointerisdecremented,byRETorRETI, theinterruptwillbeserviced.Thisfeaturepreventsstackoverflowallowingtheprogrammertouse thestructuremoreeasily.However,whenthestackisfull,aCALLsubroutineinstructioncanstill beexecutedwhichwillresultinastackoverflow.Precautionsshouldbetakentoavoidsuchcases whichmightcauseunpredictableprogrambranching. Ifthestackisoverflow,thefirstProgramCountersaveinthestackwillbelost. Stack Pointer Stack Level 2 Stack Level 1 Program Memory Program Counter Bottom of Stack Top of Stack Arithmetic and Logic Unit – ALU Thearithmetic-logicunitorALUisacriticalareaofthemicrocontrollerthatcarriesoutarithmetic andlogicoperationsoftheinstructionset.Connectedtothemainmicrocontrollerdatabus,theALU receivesrelatedinstructioncodesandperformstherequiredarithmeticorlogicaloperationsafter whichtheresultwillbeplacedinthespecifiedregister.AstheseALUcalculationoroperationsmay resultincarry,borroworotherstatuschanges,thestatusregisterwillbecorrespondinglyupdatedto reflectthesechanges.TheALUsupportsthefollowingfunctions: • Arithmeticoperations:ADD,ADDM,ADC,ADCM,SUB,SUBM,SBC,SBCM,DAA • Logicoperations:AND,OR,XOR,ANDM,ORM,XORM,CPL,CPLA • Rotation:RRA,RR,RRCA,RRC,RLA,RL,RLCA,RLC • IncrementandDecrement:INCA,INC,DECA,DEC • Branchdecision:JMP,SZ,SZA,SNZ,SIZ,SDZ,SIZA,SDZA,CALL,RET,RETI |
|
ссылки URL |
| Вашему бизинису помогли Аллдатащит? [ 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 |