edited by
554 views
5 votes
5 votes

A certain architecture supports indirect, direct, and register addressing modes for use in identifying operands for arithmetic instructions.

Which of the following cannot be achieved with a single instruction?

  1. Specifying a register number in the instruction such that the register contains the value of an operand that will be used by the operation.
  2. Specifying a register number in the instruction such that the register will serve as the destination for the operation’s output.
  3. Specifying an operand value in the instruction such that the value will be used by the operation.
  4. Specifying a memory location in the instruction such that the value at that location specifies yet another memory location which in turn contains the value of an operand that will be used by the instruction.
edited by

2 Answers

Best answer
7 votes
7 votes

Going through the Statements we find a t C is

 Specifying an operand value in the instruction such that the value will be used by the operation.

now it is nothing but Immedaite Adressing of operands

 But the question says architecture supports Indirect,Direct and Register adressing ,so no scope of Immedaite adressing here

so c is the answer

selected by
3 votes
3 votes

Choice A is “register” addressing, which is supported by this architecture.

Choice B is also typically covered when manufacturers speak of “register” addressing, which is supported by this architecture.

Choice C is “immediate” (or “literal”) addressing, which is not supported by this architecture.

Choice D is “indirect” (or “memory indirect”) addressing, which is supported by this architecture.

Answer:

Related questions

3 votes
3 votes
2 answers
1