MCQ IN COMPUTER SCIENCE & ENGINEERING

COMPUTER SCIENCE AND ENGINEERING

COMPUTER ARCHITECTURE

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
What is the purpose of the accumulator?
A
To perform arithmetic operations
B
To hold the results of a calculation
C
To hold the accumulation of instructions that have happened
D
None of the above
Explanation: 

Detailed explanation-1: -An accumulator is primarily used as a register in a CPU to store intermediate logical or arithmetic data in multistep calculations. For such calculations, it functions as a temporary storage location.

Detailed explanation-2: -They are used to maintain pressure, store and recapture energy, reduce pressure peaks, power chassis suspensions, and dampen shock, vibration and pulsations. Under gas pressure, accumulators store a volume of fluid that can be re-fed into the hydraulic system when it is needed.

Detailed explanation-3: -The accumulator is an 8-bit register that is a part of arithmetic/logic unit (ALU). This register is used to store 8-bit data and to perform arithmetic and logical operations. The result of an operation is stored in the accumulator.

Detailed explanation-4: -The fourth is the accumulator. It is a register that is similar to the general purpose register. It holds data or the results of an operation during the processing cycles. The accumulator can hold one of the two operands during any ALU operation.

Detailed explanation-5: -Therefore, most of the instructions in the instruction set refer to the accumulator (e.g., the 6502 is an accumulator-based microprocessor). The purpose of all the microprocessors internal registers of 6502 is predefined by the manufacturer. Therefore, these are special purpose registers.

There is 1 question to complete.