| Electronic Components Datasheet Search |
|
HT56R656 Datasheet(PDF) 35 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT56R656 Datasheet(HTML) 35 Page - Holtek Semiconductor Inc |
|
35 / 145 page ![]() Rev. 1.30 34 �a��� �� �013 Rev. 1.30 35 �a��� �� �013 HT56R62/HT56R65 HT56R642/HT56R644/HT56R654/HT56R656 TinyPowerTM A/D Type with LCD 8-Bit OTP MCU HT56R62/HT56R65 HT56R642/HT56R644/HT56R654/HT56R656 TinyPowerTM A/D Type with LCD 8-Bit OTP MCU Look-up Table Registers − TBLP, TBLH Thesetwospecialfunctionregistersareusedtocontroloperationofthelook-uptablewhichis storedintheProgramMemory.TBLPisthetablepointerandindicatesthelocationwherethetable dataislocated.Itsvaluemustbesetupbeforeanytablereadcommandsareexecuted.Itsvalue canbechanged,forexampleusingthe″INC″or″DEC″instructions,allowingforeasytabledata pointingandreading.TBLHisthelocationwherethehighorderbyteofthetabledataisstored afteratablereaddatainstructionhasbeenexecuted.Notethatthelowerordertabledatabyteis transferredtoauserdefinedlocation. Status Register − STATUS This8-bitregistercontainsthezeroflag(Z),carryflag(C),auxiliarycarryflag(AC),overflowflag (OV),powerdownflag(PDF),andwatchdogtime-outflag(TO).Thesearithmetic/logicaloperation andsystemmanagementflagsareusedtorecordthestatusandoperationofthemicrocontroller. 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,ACandCflagsgenerallyreflectthestatusofthelatestoperations. • 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. TO PD FO VZ AC C ST AT US R eg is te r Ar it hm et ic /L og ic O pe ra ti on F la gs Ca rr y fl ag Au xi li ar y ca rr y fl ag Ze ro f la g Ov er fl ow fl ag S yst em M an ag em en t Fl ag s Po we r do wn f la g Wa tc hdog ti me - out f la g No t i mp le me nt ed, r ead as " 0" b7 b0 Status Register Inaddition,onenteringaninterruptsequenceorexecutingasubroutinecall,thestatusregisterwill notbepushedontothestackautomatically.Ifthecontentsofthestatusregistersareimportantandif thesubroutinecancorruptthestatusregister,precautionsmustbetakentocorrectlysaveit. |
|
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 |