| поискавой системы для электроныых деталей |
|
HT69F360 датащи(PDF) 52 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT69F360 датащи(HTML) 52 Page - Holtek Semiconductor Inc |
|
52 / 235 page ![]() Rev. 1.30 5� �ove��e� 1�� �01� Rev. 1.30 53 �ove��e� 1�� �01� HT69F340/HT69F350/HT69F360 TinyPowerTM I/O Flash MCU with LCD & EEPROM HT69F340/HT69F350/HT69F360 TinyPowerTM I/O Flash MCU with LCD & EEPROM Special Function Register Description MostoftheSpecialFunctionRegisterdetailswillbedescribedintherelevantfunctionalsections, howeverseveralregistersrequireaseparatedescriptioninthissection. Indirect Addressing Register – IAR0, IAR1, IAR2 TheIndirectAddressingRegisters,IAR0,IAR1andIAR2,althoughhavingtheirlocationsinnormal RAMregisterspace,donotactuallyphysicallyexistasnormalregisters.Themethodofindirect addressingforRAMdatamanipulationusestheseIndirectAddressingRegistersandMemory Pointers,incontrasttodirectmemoryaddressing,wheretheactualmemoryaddressisspecified. ActionsontheIAR0,IAR1andIAR2registerswillresultinnoactualreadorwriteoperationto theseregistersbutrathertothememorylocationspecifiedbytheircorrespondingMemoryPointers, MP0,MP1L/MP1HorMP2L/MP2H.Actingasapair,IAR0andMP0cantogetheraccessdata onlyfromSector0whiletheIAR1registertogetherwithMP1L/MP1HregisterpairandIAR2 registertogetherwithMP2L/MP2HregisterpaircanaccessdatafromanyDataMemorysector.As theIndirectAddressingRegistersarenotphysicallyimplemented,readingtheIndirectAddressing Registersindirectlywillreturnaresultof“00H”andwritingtotheregistersindirectlywillresultin nooperation. Memory Pointers – MP0, MP1L, MP1H, MP2L, MP2H FiveMemoryPointers,knownasMP0,MP1L,MP1H,MP2LandMP2H,areprovided.These MemoryPointersarephysicallyimplementedintheDataMemoryandcanbemanipulatedinthe samewayasnormalregistersprovidingaconvenientwaywithwhichtoaddressandtrackdata. WhenanyoperationtotherelevantIndirectAddressingRegistersiscarriedout,theactualaddress thatthemicrocontrollerisdirectedtoistheaddressspecifiedbytherelatedMemoryPointer.MP0, togetherwithIndirectAddressingRegister,IAR0,areusedtoaccessdatafromSector0,while MP1L/MP1HtogetherwithIAR1andMP2L/MP2HtogetherwithIAR2areusedtoaccessdata fromalldatasectorsaccordingtothecorrespondingMP1HorMP2Hregister.DirectAddressingcan beusedinalldatasectorsusingthecorrespondinginstructionwhichcanaddressallavailabledata memoryspace. ThefollowingexampleshowshowtoclearasectoroffourDataMemorylocationsalreadydefined 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 |
| Вашему бизинису помогли Аллдатащит? [ 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 |