Consider the following structure of a 2-address instruction in a machine:…

2022

Consider the following structure of a 2-address instruction in a machine: opcode operand1 operand2 8 bits 8 bits 16 bits If the first operand is in a general-purpose register and the second operand is in memory, which of the following statements about the machine is correct?

  1. A.

    There are 256 registers and memory size is 64 KB bytes

  2. B.

    There are 8 instructions and 8 registers

  3. C.

    There are 256 registers and 216 KB memory

  4. D.

    There are 256 instructions and 216 KB memory

Attempted by 2184 students.

Show answer & explanation

Correct answer: A

Solution: Operand1 = 8 bits → number of distinct registers = 2^8 = 256 . Operand1 = 8 बिट → रजिस्टरों की संख्या = 2^8 = 256 ।

Explore the full course: Up Lt Grade Assistant Teacher 2025