1 / 10

ADDRESSING MODES OF 8085

ADDRESSING MODES OF 8085. Ad d ressing Modes of 8085. T o p e rform a n y op e rat i o n , we h a ve to g i ve t h e corres p o n d i ng i n structi o ns to the micro p rocesso r . In e a ch instr u ctio n , pr o gr a m m er h a s t o speci f y 3 t h i n gs: Ope r at i on to be p erfo rm ed.

zasha
Télécharger la présentation

ADDRESSING MODES OF 8085

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. ADDRESSINGMODES OF 8085

  2. AddressingModesof8085 • Toperformany operation,wehave to givethecorrespondinginstructionsto themicroprocessor. • Ineachinstruction,programmerhas to • specify3things: • Operationtobeperformed. • Addressofsourceofdata. • Addressofdestinationofresult.

  3. AddressingModesof8085 • Themethod by whichtheaddressof sourceof dataortheaddressof destinationofresultis givenin the instructioniscalledAddressing Modes. • Thetermaddressingmoderefersto thewayinwhichtheoperandofthe instructionisspecified.

  4. TypesofAddressingModes • Intel8085usesthefollowing • addressingmodes: • DirectAddressingMode • RegisterAddressingMode • RegisterIndirectAddressingMode • ImmediateAddressingMode • ImplicitAddressingMode

  5. DirectAddressingMode • Inthis mode,theaddressofthe operandis givenintheinstruction itself. LDA2500H Loadthecontents of memory location2500H inaccumulator. • LDAis theoperation. • 2500His theaddressofsource. • Accumulatoris thedestination.

  6. RegisterAddressingMode • Inthis mode,theoperandisin general • purposeregister. Movethecontents ofregisterB to A. MOVA,B • MOVis theoperation. • Bis thesourceofdata. • Ais thedestination.

  7. Register IndirectAddressing Mode • Inthis mode,theaddressofoperand • isspecifiedbyaregisterpair. MOVA,M Movedatafrommemorylocation specifiedbyH-Lpair to accumulator. • MOVis theoperation. • Misthememory locationspecifiedby • H-Lregisterpair. • Ais thedestination.

  8. ImmediateAddressingMode • Inthis mode,theoperandisspecified • withintheinstructionitself. MVI A, 05 H Move05 H inaccumulator. • MVIis theoperation. • 05His theimmediatedata(source). • Ais thedestination.

  9. ImplicitAddressingMode • Ifaddress of sourceof dataas wellas addressof destinationofresultis fixed, thenthere is noneedto giveany operandalongwiththe instruction. • CMA Complement accumulator. • CMAis the operation. • Aisthesource. • Ais the destination.

  10. 10

More Related