How to count effective address

Discussion in 'Homework Help' started by CSharpque, Dec 15, 2011.

  1. CSharpque

    Thread Starter Member

    Sep 23, 2011
    40
    0
    i have question for addressing mod

    AN instruction is stored at location 300 with its address field at location 301, the address field has the value 400. A processor register contains value 200. Evaluate effective address if addressing mode of instruction is
    (1) direct
    (2)Indirect
    (3) relative
    (4)register indirect
    (5) index with R! as index register
    for this plzz check attachment
     
  2. thatoneguy

    AAC Fanatic!

    Feb 19, 2009
    6,357
    718
    Can you post your attachment as a PDF? There are several PDF "Printer Drivers" for free available, which eliminates the threat of malicious malware/macros from .doc files.
     
  3. Georacer

    Moderator

    Nov 25, 2009
    5,142
    1,266
    Here is a capture of the .doc file. A picture is most of the times better. It doesn't make much sense, though.
     
  4. thatoneguy

    AAC Fanatic!

    Feb 19, 2009
    6,357
    718
    Yep no sense.

    Which processor register?

    Which processor?

    What are the op codes for the different address modes?

    Is it a jump where the address in the accumulator points to the next instruction address?
     
  5. RRITESH KAKKAR

    Senior Member

    Jun 29, 2010
    2,831
    89
    I think 8085/86
     
  6. CSharpque

    Thread Starter Member

    Sep 23, 2011
    40
    0
    Here is the PDF attachment
     
    • OP.pdf
      File size:
      35.1 KB
      Views:
      38
  7. CSharpque

    Thread Starter Member

    Sep 23, 2011
    40
    0
    This question is asked in exam paper but in syllabus processor is 8086 so i think oi can be 8086.
     
  8. thatoneguy

    AAC Fanatic!

    Feb 19, 2009
    6,357
    718
    Which answers do you have?

    Direct should be rather obvious

    What about the others that you have, but don't understand?
     
  9. CSharpque

    Thread Starter Member

    Sep 23, 2011
    40
    0
    i want all the effective address using all the direct, immediate,relative, register indirect and index with R! as register.

    But i know only to find effective address using direct addressing technique and for that i have prepare that logical view of memory in attach pdf file.

    so that address is right or wrong? and also tell me for other technique
     
  10. thatoneguy

    AAC Fanatic!

    Feb 19, 2009
    6,357
    718
    Immediate uses the op code in the command
    Indirect uses the value at the address provided in the command.

    Using that, can you take a guess what the others might be? (look at wikipedia for definitions if needed)
     
Loading...