1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Lxi Help!!

Discussion in 'Assembly Language Programming (ALP) Forum' started by Radiant, Sep 10, 2007.

  1. Radiant

    Radiant New Member

    Joined:
    Sep 10, 2007
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    0
    Hello Am a Beginner..

    I know LXI Rp,address(16 bit)

    is an 3 byte instruction.

    and M/Cs =3

    But am curious to know that.. if the contents are address then of course its going to perform a Memory Read operation.

    Then why not we consider 4 m/cs instead of 3.

    1: opcode fetch
    2: operand fetch
    3: operand fetch
    4: memory Read

    ???
     
  2. DaWei

    DaWei New Member

    Joined:
    Dec 6, 2006
    Messages:
    835
    Likes Received:
    5
    Trophy Points:
    0
    Occupation:
    Semi-retired EE
    Location:
    Texan now in Central NY
    Home Page:
    Get the manual for your microprocessor (you don't mention the type) and check the instruction. It'll show you.
     
  3. Radiant

    Radiant New Member

    Joined:
    Sep 10, 2007
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    0
    Oh am extremely sorry for that duplicate post.


    Its an 8085 microprocessor am studying about.

    Please help me to clear the above query.
     
  4. DaWei

    DaWei New Member

    Joined:
    Dec 6, 2006
    Messages:
    835
    Likes Received:
    5
    Trophy Points:
    0
    Occupation:
    Semi-retired EE
    Location:
    Texan now in Central NY
    Home Page:
    The destination register pair is contained in the opcode, so 1 opcode fetch, 2 data fetches.
     
  5. Radiant

    Radiant New Member

    Joined:
    Sep 10, 2007
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    0
    oh yes...
    Thank you! Thank you!

    its just the data(the address) thats going to be loaded into the Register pair... and not the contents of that address. So no Memory operation here..

    Thank you very much !!
     

Share This Page