| Electronic Components Datasheet Search |
|
HT45F2002 Datasheet(PDF) 22 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT45F2002 Datasheet(HTML) 22 Page - Holtek Semiconductor Inc |
|
22 / 31 page ![]() Rev. 1.00 �� ���� 1�� �01� Rev. 1.00 �3 ���� 1�� �01� HT45F2002 2-Wire Communication Flash MCU HT45F2002 2-Wire Communication Flash MCU CPLA [m] ComplementDataMemorywithresultinACC Description EachbitofthespecifiedDataMemoryislogicallycomplemented(1′scomplement).Bitswhich previouslycontaineda1arechangedto0andviceversa.Thecomplementedresultisstoredin theAccumulatorandthecontentsoftheDataMemoryremainunchanged. Operation ACC←[m] Affectedflag(s) Z DAA [m] Decimal-AdjustACCforadditionwithresultinDataMemory Description ConvertthecontentsoftheAccumulatorvaluetoaBCD(BinaryCodedDecimal)value resultingfromthepreviousadditionoftwoBCDvariables.Ifthelownibbleisgreaterthan9 orifACflagisset,thenavalueof6willbeaddedtothelownibble.Otherwisethelownibble remainsunchanged.Ifthehighnibbleisgreaterthan9oriftheCflagisset,thenavalueof6 willbeaddedtothehighnibble.Essentially,thedecimalconversionisperformedbyadding 00H,06H,60Hor66HdependingontheAccumulatorandflagconditions.OnlytheCflag maybeaffectedbythisinstructionwhichindicatesthatiftheoriginalBCDsumisgreaterthan 100,itallowsmultipleprecisiondecimaladdition. Operation [m]←ACC+00Hor [m]←ACC+06Hor [m]←ACC+60Hor [m]←ACC+66H Affectedflag(s) C DEC [m] DecrementDataMemory Description DatainthespecifiedDataMemoryisdecrementedby1. Operation [m]←[m]−1 Affectedflag(s) Z DECA [m] DecrementDataMemorywithresultinACC Description DatainthespecifiedDataMemoryisdecrementedby1.Theresultisstoredinthe Accumulator.ThecontentsoftheDataMemoryremainunchanged. Operation ACC←[m]−1 Affectedflag(s) Z HALT Enterpowerdownmode Description Thisinstructionstopstheprogramexecutionandturnsoffthesystemclock.Thecontentsof theDataMemoryandregistersareretained.TheWDTandprescalerarecleared.Thepower downflagPDFissetandtheWDTtime-outflagTOiscleared. Operation TO←0 PDF←1 Affectedflag(s) TO,PDF INC [m] IncrementDataMemory Description DatainthespecifiedDataMemoryisincrementedby1. Operation [m]←[m]+1 Affectedflag(s) Z INCA [m] IncrementDataMemorywithresultinACC Description DatainthespecifiedDataMemoryisincrementedby1.TheresultisstoredintheAccumulator. ThecontentsoftheDataMemoryremainunchanged. Operation ACC←[m]+1 Affectedflag(s) Z |
|
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 |