Practice Test Question Comp. Science Pep/7 Instruction

  1. Assuming a Pep/7 machine, what are the contents of the A register after the execution of this instruction:

    00001001 00000000 00000010

    given the following state of memory (in hexadecimal)?

    0001 A2
    0002 00
    0003 11

    00001 is the opcode for the instruction "Load operand into a register (either A or X)"
    I know that 01 int the Addressing mode specifier means Direct-mode addressing but after that I'm not sure what to do. I think the answer is 00000000 00010001
  2. jcsd
Know someone interested in this topic? Share a link to this question via email, Google+, Twitter, or Facebook

Have something to add?

Draft saved Draft deleted