| поискавой системы для электроныых деталей |
|
HT67F5652 датащи(PDF) 22 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT67F5652 датащи(HTML) 22 Page - Holtek Semiconductor Inc |
|
22 / 224 page ![]() Rev. 1.00 �� De�e��e� 0�� �01� Rev. 1.00 �3 De�e��e� 0�� �01� HT67F5652 24-Bit Delta Sigma A/D + LCD Flash MCU HT67F5652 24-Bit Delta Sigma A/D + LCD Flash MCU Exe�ute Inst. 1 Fet�h Inst. � 1 MOV A� [1�H] � CALL DELAY 3 CPL [1�H] 4: 5: � DELAY: NOP Fet�h Inst. 1 Exe�ute Inst. � Fet�h Inst. 3 Flush Pipeline Fet�h Inst. � Exe�ute Inst. � Fet�h Inst. � Instruction Fetching Program Counter Duringprogramexecution,theProgramCounterisusedtokeeptrackoftheaddressofthe nextinstructiontobeexecuted.Itisautomaticallyincrementedbyoneeachtimeaninstruction isexecutedexceptforinstructions,suchas"JMP"or"CALL"thatdemandsajumptoanon- consecutiveProgramMemoryaddress.Onlythelower8bits,knownastheProgramCounterLow Register,aredirectlyaddressablebytheapplicationprogram. Whenexecutinginstructionsrequiringjumpstonon-consecutiveaddressessuchasajump instruction,asubroutinecall,interruptorreset,etc.,themicrocontrollermanagesprogramcontrol byloadingtherequiredaddressintotheProgramCounter.Forconditionalskipinstructions,once theconditionhasbeenmet,thenextinstruction,whichhasalreadybeenfetchedduringthepresent instructionexecution,isdiscardedandadummycycletakesitsplacewhilethecorrectinstructionis obtained. Program Counter Program Counter High Byte PCL Register PC1�~PC8 PCL�~PCL0 Program Counter ThelowerbyteoftheProgramCounter,knownastheProgramCounterLowregisterorPCL,is availableforprogramcontrolandisareadableandwriteableregister.Bytransferringdatadirectly intothisregister,ashortprogramjumpcanbeexecuteddirectly;however,asonlythislowbyte isavailableformanipulation,thejumpsarelimitedtothepresentpageofmemorythatis256 locations.Whensuchprogramjumpsareexecuteditshouldalsobenotedthatadummycycle willbeinserted.ManipulatingthePCLregistermaycauseprogrambranching,soanextracycleis neededtopre-fetch. Stack ThisisaspecialpartofthememorywhichisusedtosavethecontentsoftheProgramCounter only.Thestackisorganizedinto8levelsandneitherpartofthedatanorpartoftheprogramspace, 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. |
|
ссылки 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 |