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.

  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 196 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: Up Lt Grade Assistant Teacher 2025