| 数据搜索系统,热门电子元器件搜索 |
|
HT45F2020 数据表(PDF) 21 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT45F2020 数据表(HTML) 21 Page - Holtek Semiconductor Inc |
|
21 / 85 page ![]() Rev. 1.00 20 April 11, 2017 Rev. 1.00 21 April 11, 2017 HT45F2020/HT45F2022 Sound Effect Generator Flash MCU HT45F2020/HT45F2022 Sound Effect Generator Flash MCU Accumulator – ACC TheAccumulatoriscentraltotheoperationofanymicrocontrollerandiscloselyrelatedwith operationscarriedoutbytheALU.TheAccumulatoristheplacewhereallintermediateresults fromtheALUarestored.WithouttheAccumulatoritwouldbenecessarytowritetheresultof eachcalculationorlogicaloperationsuchasaddition,subtraction,shift,etc.,totheDataMemory resultinginhigherprogrammingandtimingoverheads.Datatransferoperationsusuallyinvolve thetemporarystoragefunctionoftheAccumulator;forexample,whentransferringdatabetween oneuser-definedregisterandanother,itisnecessarytodothisbypassingthedatathroughthe Accumulatorasnodirecttransferbetweentworegistersispermitted. Program Counter Low Register – PCL Toprovideadditionalprogramcontrolfunctions,thelowbyteoftheProgramCounterismade accessibletoprogrammersbylocatingitwithintheSpecialPurposeareaoftheDataMemory.By manipulatingthisregister,directjumpstootherprogramlocationsareeasilyimplemented.Loading avaluedirectlyintothisPCLregisterwillcauseajumptothespecifiedProgramMemorylocation, however,astheregisterisonly8-bitwide,onlyjumpswithinthecurrentProgramMemorypageare permitted.Whensuchoperationsareused,notethatadummycyclewillbeinserted. Look-up Table Registers – TBLP, TBLH Thesetwospecialfunctionregistersareusedtocontroloperationofthelook-uptablewhichis storedintheProgramMemory.TBLPisthetablepointersandindicatethelocationwherethetable 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. |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 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 |