Computer AwarenessHardIBPS SO IT Officer

In a one-address (accumulator-based) machine, what does the instruction ADD X do?

  1. A. Adds X to itself and stores the result back at address X
  2. B. Adds the contents of address X to the accumulator, leaving the result there
  3. C. Adds the number X to the program counter to jump ahead
  4. D. Adds the accumulator to address X and stores the result at X

Correct answer: B. Adds the contents of address X to the accumulator, leaving the result there

With one explicit address, the accumulator is the implied second operand and destination: ACC ← ACC + M[X].

हिंदी में

एक-पता (एक्युमुलेटर-आधारित) मशीन में निर्देश ADD X क्या करता है?

  1. A. X को स्वयं में जोड़ता है और परिणाम वापस पता X पर रखता है
  2. B. पता X की सामग्री को एक्युमुलेटर में जोड़ता है, परिणाम वहीं छोड़ता है
  3. C. संख्या X को प्रोग्राम काउंटर में जोड़कर आगे कूदता है
  4. D. एक्युमुलेटर को पता X में जोड़ता है और परिणाम X पर रखता है

उत्तर: B. एक स्पष्ट पते के साथ, एक्युमुलेटर निहित दूसरा संकार्य और गंतव्य होता है: ACC ← ACC + M[X]।

More Computer Awareness questions

Exams that ask this topic