State whether the following statements are true or false. (i) With one-address…

2018

State whether the following statements are true or false.

(i) With one-address instructions, the programmer generally has available only one general-purpose register, the accumulator.

(ii) Zero-address instructions are applicable to a special memory organization called a stack.

Answer: A. (i) True, (ii) TrueStatement (i) is true because one-address instructions implicitly use the accumulator as an operand, limiting available general-purpose registers. Statement…

  1. A.

    (i) True, (ii) True

  2. B.

    (i) True, (ii) False

  3. C.

    (i) False, (ii) True

  4. D.

    (i) False, (ii) False

Attempted by 405 students.

Show answer & explanation

Correct answer: A

Statement (i) is true because one-address instructions implicitly use the accumulator as an operand, limiting available general-purpose registers. Statement (ii) is true because zero-address instructions operate on a stack where operands are implicitly accessed via push and pop operations without explicit memory addresses.

Explore the full course: Hpsc Pgt Computer Science

Loading lesson…