Q: What is the function of an accumulator in a processor?
-
A
Storing data and performing logical operations
-
B
Storing data and performing arithmetic and logical operations
-
C
Storing addresses
-
D
Pointer
B
Answer:
B
Explanation:
The primary function of an accumulator is to store intermediate results during arithmetic and logical operations. It is a register in the processor that can hold a single value at a time and can be used for various operations, including addition, subtraction, multiplication, and logical operations.
Related Topic:
Share Above MCQ