| 전자부품 데이터시트 검색엔진 |
|
HT66F4530 데이터시트(PDF) 43 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT66F4530 데이터시트(HTML) 43 Page - Holtek Semiconductor Inc |
|
43 / 224 page ![]() Rev. 1.00 4� De�e��e� �1� �01� Rev. 1.00 43 De�e��e� �1� �01� HT66F4530/HT66F4540/HT66F4550 A/D Flash MCU with Dual Operational Amplifiers HT66F4530/HT66F4540/HT66F4550 A/D Flash MCU with Dual Operational Amplifiers Special Function Register Description MostoftheSpecialFunctionRegisterdetailswillbedescribedintherelevantfunctionalsection, howeverseveralregistersrequireaseparatedescriptioninthissection. Indirect Addressing Registers – IAR0, IAR1, IAR2 TheIndirectAddressingRegisters,IAR0,IAR1andIAR2,althoughhavingtheirlocationsinnormal RAMregisterspace,donotactuallyphysicallyexistasnormalregisters.Themethodofindirect addressingforRAMdatamanipulationusestheseIndirectAddressingRegistersandMemory Pointers,incontrasttodirectmemoryaddressing,wheretheactualmemoryaddressisspecified. ActionsontheIAR0,IAR1andIAR2registerswillresultinnoactualreadorwriteoperationto theseregistersbutrathertothememorylocationspecifiedbytheircorrespondingMemoryPointers, MP0,MP1L/MP1HorMP2L/MP2H.Actingasapair,IAR0andMP0cantogetheraccessdataonly fromSector0whiletheIAR1registertogetherwiththeMP1L/MP1HregisterpairandIAR2register togetherwiththeMP2L/MP2HregisterpaircanaccessdatafromanyDataMemorySector.As theIndirectAddressingRegistersarenotphysicallyimplemented,readingtheIndirectAddressing Registerswillreturnaresultof"00H"andwritingtotheregisterswillresultinnooperation. Memory Pointers – MP0, MP1L, MP1H, MP2L, MP2H FiveMemoryPointers,knownasMP0,MP1L,MP1H,MP2L,MP2H,areprovided.TheseMemory PointersarephysicallyimplementedintheDataMemoryandcanbemanipulatedinthesameway asnormalregistersprovidingaconvenientwaywithwhichtoaddressandtrackdata.Whenany operationtotherelevantIndirectAddressingRegistersiscarriedout,theactualaddressthatthe microcontrollerisdirectedtoistheaddressspecifiedbytherelatedMemoryPointer.MP0,together withIndirectAddressingRegister,IAR0,areusedtoaccessdatafromSector0,whileMP1L/MP1H togetherwithIAR1andMP2L/MP2HtogetherwithIAR2areusedtoaccessdatafromallsectors accordingtothecorrespondingMP1HorMP2Hregister.DirectAddressingcanbeusedinall sectorsusingthecorrespondinginstructionwhichcanaddressallavailabledatamemoryspace. ThefollowingexampleshowshowtoclearasectionoffourDataMemorylocationsalreadydefined aslocationsadres1toadres4. Indirect Addressing Program Example 1 data .section ´data´ adres1 db ? adres2 db ? adres3 db ? adres4 db ? block db ? code .section at 0 ´code´ org 00h start: mov a, 04h ; setup size of block mov block, a mova,offsetadres1;AccumulatorloadedwithfirstRAMaddress movmp0,a ;setupmemorypointerwithfirstRAMaddress loop: clrIAR0;clearthedataataddressdefinedbyMP0 inc mp0 ; increment memory pointer sdz block ; check if last memory location has been cleared jmp loop continue: |
|
링크 URL |
| 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 |