Solution - Why AX is called accumulator? What is the role of AX register in CPU operation?

No comments

Question:

Why AX is called accumulator? What is the rule of AX register in CPU operation?

Solution:

Accumulator means collection of things. AX is called accumulator because in AX data and intermediate arithmetic and logic results are stored temporarily. In CPU, for some arithmetic operation, such as multiplication, division, subtraction, addition. AX holds one of the operands which will be processed by  ALU and it also holds the results of operation done by the ALU.

In the EU(Execution Unit) AX is a 16 bit register(Higher Order byte of the AX is named AH and lower order byte of the AX register is AL)

So, the role of AX in CPU is very significant because without the accumulator, it would be a problem to write the result of each calculation, addition, multiplication, subtraction, division etc. to main memory. Perhaps, only be read write back again for the use in the next instruction, which is a very slower process.

So, AX register makes arithmetic operation faster and so it is very important in CPU.




Tags:

Microprocessor and Assembly Language, Why AX is called accumulator, What is the role of AX register in CPU operation?, Why AX is called accumulator, What is the role of AX register in CPU operation?, Why AX is called accumulator, What is the role of AX register in CPU operation?, Why AX is called accumulator, What is the role of AX register in CPU operation?, AX is an accumulator why


No comments :

Post a Comment