ADDRESSING
Download
1 / 10

ADDRESSING MODES OF 8085 - PowerPoint PPT Presentation


  • 106 Views
  • Uploaded on

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.

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

PowerPoint Slideshow about 'ADDRESSING MODES OF 8085' - zasha


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.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript
Addressing modes of 8085

ADDRESSINGMODES OF 8085


Ad d ressing modes of 8085
AddressingModesof8085

  • Toperformany operation,wehave to givethecorrespondinginstructionsto themicroprocessor.

  • Ineachinstruction,programmerhas to

  • specify3things:

    • Operationtobeperformed.

    • Addressofsourceofdata.

    • Addressofdestinationofresult.


Ad d ressing modes of 80851
AddressingModesof8085

  • Themethod by whichtheaddressof sourceof dataortheaddressof destinationofresultis givenin the instructioniscalledAddressing Modes.

  • Thetermaddressingmoderefersto thewayinwhichtheoperandofthe instructionisspecified.


T ypes of ad d ressing modes
TypesofAddressingModes

  • Intel8085usesthefollowing

  • addressingmodes:

    • DirectAddressingMode

    • RegisterAddressingMode

    • RegisterIndirectAddressingMode

    • ImmediateAddressingMode

    • ImplicitAddressingMode


Direct ad d ressing mode
DirectAddressingMode

  • Inthis mode,theaddressofthe operandis givenintheinstruction itself.

LDA2500H

Loadthecontents of memory

location2500H inaccumulator.

  • LDAis theoperation.

  • 2500His theaddressofsource.

  • Accumulatoris thedestination.


Register addressing mode
RegisterAddressingMode

  • Inthis mode,theoperandisin general

  • purposeregister.

Movethecontents ofregisterB to A.

MOVA,B

  • MOVis theoperation.

  • Bis thesourceofdata.

  • Ais thedestination.


Addressing modes of 8085

Register IndirectAddressing

Mode

  • Inthis mode,theaddressofoperand

  • isspecifiedbyaregisterpair.

MOVA,M

Movedatafrommemorylocation specifiedbyH-Lpair to accumulator.

  • MOVis theoperation.

  • Misthememory locationspecifiedby

  • H-Lregisterpair.

  • Ais thedestination.


Immediate ad d ressing m o de
ImmediateAddressingMode

  • Inthis mode,theoperandisspecified

  • withintheinstructionitself.

MVI A, 05 H

Move05 H inaccumulator.

  • MVIis theoperation.

  • 05His theimmediatedata(source).

  • Ais thedestination.


Imp l ic i t addressing mode
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.