πŸŽ“ BookMCQ
← Back to 2. Simple as Possible (SAP) - I

πŸ“ Accumulator of Simple as Possible (SAP) I Computer (8 MCQs)

Eight-Bit Accumulator and Its Central Processing Role

The accumulator is an 8-bit register that stores operands and results during SAP-I arithmetic operations. It supplies one input to the adder-subtractor and receives the result produced by the arithmetic unit. It also supports data transfer to the output register. Its central position in the data path makes it the principal working register for the computer's limited arithmetic instruction set.

Connection Between the Accumulator, B Register and ALU

The accumulator provides one arithmetic operand, while the B register holds the second operand obtained from RAM. Both register outputs connect to the adder-subtractor. The ALU result can be enabled onto the common bus, and the accumulator input control signal loads that result. This arrangement supports repeated calculations using the accumulator as the working result register.

Loading, Arithmetic Updating and Output Transfer

LDA loads a selected memory byte into the accumulator. ADD and SUB combine its existing contents with data held in the B register and replace the accumulator value with the result. During OUT, the accumulator drives the common bus, and the output register captures its contents. Each transfer occurs under the controller's direction.

Example of Accumulator Contents During Addition

Suppose the accumulator initially contains 12H and RAM supplies 05H through the B register. The ALU adds the two values and produces 17H. The result is transferred back into the accumulator using the AI signal. An OUT instruction then enables the accumulator output so that the output register receives 17H.

Role of the Accumulator in Repeated Arithmetic Operations

The accumulator supports chained calculations because an arithmetic result remains available for the next instruction. For example, successive ADD instructions can accumulate several memory operands without storing every intermediate result in RAM. This organization is common in introductory processor designs, including the 8085, although their instruction sets, register arrangements and operating capabilities are different.

Misconceptions About Accumulator Functions

'The accumulator stores memory addresses' confuses it with the MAR. 'The B register receives every arithmetic result' is incorrect because the accumulator receives the ALU result. 'OUT clears the accumulator after displaying data' is also incorrect because the instruction transfers a copy of its contents to the output register without requiring the accumulator to be cleared.

Accumulator Tracing and Arithmetic Questions

Practise calculating the accumulator contents after LDA, ADD and SUB operations. Distinguish the accumulator input signal AI from its output signal AO and identify its connections with the ALU, common bus and output register. Examination questions may require tracing successive operations and determining the final value delivered to the output register.

Accumulator and Arithmetic Data-Path Terms

  • Accumulator - Stores arithmetic operands and results.
  • AI - Enables accumulator input.
  • AO - Enables accumulator output.
  • ALU - Performs arithmetic calculations.
  • B Register - Stores the second operand.
  • OUT - Transfers accumulator data to output.
1
Easy
5
Medium
2
Hard

πŸ“ All Accumulator of Simple as Possible (SAP) I Computer MCQs

Q1. In a basic hand‑held calculator, which component temporarily holds the intermediate result of an addition before it is displayed?

A.Arithmetic Logic Unit (ALU)
B.Control Unit
C.Accumulator βœ…
D.Output Unit
πŸ’‘ Difficulty: easy | βœ… Correct: C

πŸ“– Explanation: The accumulator is designed to store intermediate arithmetic results, so after the ALU adds two numbers it places the sum in the accumulator until the output unit can display it. The ALU performs the calculation but does not retain values, the control unit directs operations but does not store data, and the output unit only shows final results. Therefore the accumulator is the correct choice, while the other options either compute, coordinate, or display, not store temporaries.

Q2. A microcontroller must compute (A+B)Γ—C(A + B) \times C using its accumulator. Which sequence of operations correctly uses the accumulator to obtain the final product?

A.Load A into accumulator, add B, store result, multiply stored value by C, output.
B.Load A into accumulator, multiply by C, add B, output.
C.Load A into accumulator, add B, multiply accumulator by C, output. βœ…
D.Load C into accumulator, add A, multiply by B, output.
πŸ’‘ Difficulty: medium | βœ… Correct: C

πŸ“– Explanation: Option C first loads A, adds B so the accumulator holds A+BA+B; then the ALU multiplies that value by C, updating the accumulator with the final product, which can then be output. Option A stores the intermediate sum before multiplication, adding an unnecessary step. Option B multiplies before adding, giving the wrong order of operations. Option D starts with C, which changes the intended formula. Thus only option C follows the correct use of the accumulator.

Q3. During execution of an instruction, the control unit sends a specific signal to tell the ALU to write its result into the accumulator. Which type of signal performs this role?

A.Clock pulse
B.Data bus
C.Control line βœ…
D.Output line
πŸ’‘ Difficulty: medium | βœ… Correct: C

πŸ“– Explanation: A control line carries command signals from the control unit to other components, telling the ALU to store its result in the accumulator. The clock pulse synchronizes timing but does not specify where results go. The data bus moves operand values, not control commands. The output line is used for sending data to external devices. Therefore the control line is the correct answer, while the other choices describe different functions.

Q4. To reduce data hazards in a pipelined processor that relies on a single accumulator, which architectural change is most effective?

A.Introduce a second accumulator for parallel operations.
B.Add a dedicated register file separate from the accumulator. βœ…
C.Allow the ALU to write results directly to memory.
D.Increase the clock frequency to speed up hazard resolution.
πŸ’‘ Difficulty: hard | βœ… Correct: B

πŸ“– Explanation: Adding a separate register file gives the pipeline additional places to hold intermediate values, breaking the dependency on a single accumulator and thus eliminating many read‑after‑write hazards. A second accumulator still creates a single‑point bottleneck. Writing directly to memory bypasses necessary temporary storage and slows execution. Raising the clock speed does not remove logical conflicts; it merely speeds up the same sequence. Hence option B is the most effective solution.

Q5. Why do many simple processors use an accumulator instead of a general‑purpose register file?

A.It minimizes the number of data paths, speeding up operations.
B.It reduces power consumption by limiting active components.
C.It lowers manufacturing cost due to fewer transistors.
D.All of the above. βœ…
πŸ’‘ Difficulty: medium | βœ… Correct: D

πŸ“– Explanation: An accumulator simplifies the datapath by providing a single location for arithmetic results, which reduces wiring complexity and speeds up operations. Fewer active components mean lower dynamic power usage, and fewer transistors cut manufacturing cost. Each of the first three statements is true, making the combined choice (All of the above) the correct answer. The other options list individual benefits but do not capture the full set of advantages.

Q6. How does the control unit interact with the accumulator during an arithmetic instruction?

A.The control unit writes the operand directly into the accumulator. βœ…
B.The control unit sends a signal to the ALU, which then updates the accumulator with the result.
C.The control unit reads the accumulator value and passes it to the output unit.
D.The control unit bypasses the accumulator and sends results straight to memory.
πŸ’‘ Difficulty: medium | βœ… Correct: A

πŸ“– Explanation: The control unit issues a command signal to the ALU indicating which operation to perform; once the ALU computes the result, it writes that value into the accumulator. The control unit does not directly load operands into the accumulator (option A) nor does it read from it for output (option C). Skipping the accumulator altogether (option D) would defeat its purpose in an accumulator‑based design. Therefore option B correctly describes the interaction.

Q7. If a CPU were designed without an accumulator, which of the following consequences would be most likely?

A.Increased instruction count for arithmetic operations.
B.Reduced need for control unit coordination. βœ…
C.Higher clock speeds due to fewer registers.
D.Simplified data path with no need for an ALU.
πŸ’‘ Difficulty: hard | βœ… Correct: B

πŸ“– Explanation: Without an accumulator, each arithmetic operation would require explicit moves to and from general registers, lengthening the instruction sequence and raising code density. The control unit would still need to coordinate operations, so option B is incorrect. Fewer registers do not automatically allow higher clock speeds; in fact, more complex data routing may be needed, contradicting option C. An ALU is still required for computation, making option D false. Hence the most direct impact is the increase in instruction count.

Q8. What is the primary function of an accumulator in a CPU?

A.To store program instructions.
B.To temporarily hold arithmetic results. βœ…
C.To manage input/output devices.
D.To control the flow of data between units.
πŸ’‘ Difficulty: medium | βœ… Correct: B

πŸ“– Explanation: The accumulator's main role is to keep intermediate arithmetic results that the ALU produces, allowing subsequent operations to use those values without extra memory accesses. Storing program instructions is the job of instruction memory, not the accumulator. Managing I/O devices is performed by the output unit, while data flow control is overseen by the control unit. Consequently, option B accurately captures the accumulator's purpose, and the other choices describe unrelated components.

πŸ”— Related Topics (MCQs)