| поискавой системы для электроныых деталей |
|
HT67F488 датащи(PDF) 31 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT67F488 датащи(HTML) 31 Page - Holtek Semiconductor Inc |
|
31 / 171 page ![]() Rev. 1.60 31 �ove��e� ��� �016 HT67F488/HT67F489 TinyPowerTM A/D Flash MCU with LCD & EEPROM Look-up Table Registers – TBLP, TBHP, TBLH Thesethreespecialfunctionregistersareusedtocontroloperationofthelook-uptablewhichis storedintheProgramMemory.TBLPandTBHParethetablepointerandindicatesthelocation wherethetabledataislocated.Theirvaluemustbesetupbeforeanytablereadcommandsare executed.Theirvaluecanbechanged,forexampleusingthe“INC”or“DEC”instructions,allowing foreasytabledatapointingandreading.TBLHisthelocationwherethehighorderbyteofthetable dataisstoredafteratablereaddatainstructionhasbeenexecuted.Notethatthelowerordertable databyteistransferredtoauserdefinedlocation. Status Register – STATUS This8-bitregistercontainstheSCflag,CZflag,zeroflag(Z),carryflag(C),auxiliarycarryflag(AC), overflowflag(OV),powerdownflag(PDF),andwatchdogtime-outflag(TO).Thesearithmetic/ logicaloperationandsystemmanagementflagsareusedtorecordthestatusandoperationofthe microcontroller. WiththeexceptionoftheTOandPDFflags,bitsinthestatusregistercanbealteredbyinstructions likemostotherregisters.AnydatawrittenintothestatusregisterwillnotchangetheTOorPDFflag. Inaddition,operationsrelatedtothestatusregistermaygivedifferentresultsduetothedifferent instructionoperations.TheTOflagcanbeaffectedonlybyasystempower-up,aWDTtime-outor byexecutingthe“CLRWDT”or“HALT”instruction.ThePDFflagisaffectedonlybyexecuting the“HALT”or“CLRWDT”instructionorduringasystempower-up. TheZ,OV,AC,C,SCandCZflagsgenerallyreflectthestatusofthelatestoperations. • SCistheresultofthe“XOR”operationwhichisperformedbytheOVflagandtheMSBofthe currentinstructionoperationresult. • CZistheoperationalresultofdifferentflagsfordifferentinstuctions.Refertoregisterdefinitions formoredetails. • Cissetifanoperationresultsinacarryduringanadditionoperationorifaborrowdoesnottake placeduringasubtractionoperation;otherwiseCiscleared.Cisalsoaffectedbyarotatethrough carryinstruction. • ACissetifanoperationresultsinacarryoutofthelownibblesinaddition,ornoborrowfrom thehighnibbleintothelownibbleinsubtraction;otherwiseACiscleared. • Zissetiftheresultofanarithmeticorlogicaloperationiszero;otherwiseZiscleared. • OVissetifanoperationresultsinacarryintothehighest-orderbitbutnotacarryoutofthe highest-orderbit,orviceversa;otherwiseOViscleared. • PDFisclearedbyasystempower-uporexecutingthe“CLRWDT”instruction.PDFissetby executingthe“HALT”instruction. • TOisclearedbyasystempower-uporexecutingthe“CLRWDT”or“HALT”instruction.TOis setbyaWDTtime-out. Inaddition,onenteringaninterruptsequenceorexecutingasubroutinecall,thestatusregisterwill notbepushedontothestackautomatically.Ifthecontentsofthestatusregistersareimportantandif thesubroutinecancorruptthestatusregister,precautionsmustbetakentocorrectlysaveit. |
|
ссылки 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 |