| 数据搜索系统,热门电子元器件搜索 |
|
HT45F56 数据表(PDF) 14 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT45F56 数据表(HTML) 14 Page - Holtek Semiconductor Inc |
|
14 / 90 page ![]() Rev. 1.11 14 April 11, 2017 Rev. 1.11 15 April 11, 2017 HT45F56 Shock Detector Flash MCU HT45F56 Shock Detector Flash MCU Stack ThisisaspecialpartofthememorywhichisusedtosavethecontentsoftheProgramCounter only.Thestackhasmultiplelevelsandisneitherpartofthedatanorpartoftheprogramspace, 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 |
|
链接网址 |
| 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 |