| поискавой системы для электроныых деталей |
|
HT45F4M датащи(PDF) 16 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT45F4M датащи(HTML) 16 Page - Holtek Semiconductor Inc |
|
16 / 138 page ![]() Rev. 1.10 16 �an�a�� 1�� �01� Rev. 1.10 17 �an�a�� 1�� �01� HT45F4M Lithium Battery Backup Power ASSP MCU HT45F4M Lithium Battery Backup Power ASSP MCU Stack ThisisaspecialpartofthememorywhichisusedtosavethecontentsoftheProgramCounter only.Thestackisneitherpartofthedatanorpartoftheprogramspace,andisneitherreadablenor writeable.TheactivatedlevelisindexedbytheStackPointer,andisneitherreadablenorwriteable. Atasubroutinecallorinterruptacknowledgesignal,thecontentsoftheProgramCounterarepushed ontothestack.Attheendofasubroutineoraninterruptroutine,signaledbyareturninstruction, RETorRETI,theProgramCounterisrestoredtoitspreviousvaluefromthestack.Afteradevice reset,theStackPointerwillpointtothetopofthestack. Ifthestackisfullandanenabledinterrupttakesplace,theinterruptrequestflagwillberecorded buttheacknowledgesignalwillbeinhibited.WhentheStackPointerisdecremented,byRETor RETI,theinterruptwillbeserviced.Thisfeaturepreventsstackoverflowallowingtheprogrammer tousethestructuremoreeasily.However,whenthestackisfull,aCALLsubroutineinstructioncan stillbeexecutedwhichwillresultinastackoverflow.Precautionsshouldbetakentoavoidsuch caseswhichmightcauseunpredictableprogrambranching.Ifthestackisoverflow,thefirstProgram Countersaveinthestackwillbelost. Pr ogr am C ount er St a ck Lev el 1 St a ck Lev el 2 St a ck Lev el 3 St a ck Lev el 4 Pr ogr am Me mo ry To p of S ta ck St ac k Po in te r Bo tt om o f St ac k 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 • RotationRRA,RR,RRCA,RRC,RLA,RL,RLCA,RLC • IncrementandDecrementINCA,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 |