| Electronic Components Datasheet Search |
|
HT45F5Q-2 Datasheet(PDF) 17 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT45F5Q-2 Datasheet(HTML) 17 Page - Holtek Semiconductor Inc |
|
17 / 117 page ![]() Rev. 1.00 1� ���� 0�� �01� Rev. 1.00 1� ���� 0�� �01� HT45F5Q-2 Charger Flash MCU HT45F5Q-2 Charger Flash MCU Stack ThisisaspecialpartofthememorywhichisusedtosavethecontentsoftheProgramCounter only.Thestackisorganizedinto6levelsandneitherpartofthedatanorpartoftheprogramspace, 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 Leve� � Stack Leve� 1 Stack Leve� 3 : : : Stack Leve� � Program Memor� Program Co�nter Bottom 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 |
|
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 |