| поискавой системы для электроныых деталей |
|
HT45F4MA датащи(PDF) 20 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT45F4MA датащи(HTML) 20 Page - Holtek Semiconductor Inc |
|
20 / 145 page ![]() Rev. 1.20 20 De�e��e� 1�� 201� Rev. 1.20 21 De�e��e� 1�� 201� HT45F4MA/HT45FH4MA/HT45FH4MA-1 Power Bank Flash MCU HT45F4MA/HT45FH4MA/HT45FH4MA-1 Power Bank Flash MCU ThelowerbyteoftheProgramCounter,knownastheProgramCounterLowregisterorPCL,is availableforprogramcontrolandisareadableandwriteableregister.Bytransferringdatadirectly intothisregister,ashortprogramjumpcanbeexecuteddirectly,however,asonlythislowbyte isavailableformanipulation,thejumpsarelimitedtothepresentpageofmemory,thatis256 locations.Whensuchprogramjumpsareexecuteditshouldalsobenotedthatadummycycle willbeinserted.ManipulatingthePCLregistermaycauseprogrambranching,soanextracycleis neededtopre-fetch. 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 |