What is the purpose of registers in microprocessor

  • Thread starter Thread starter soft land
  • Start date Start date
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
6 replies · 3K views
soft land
Messages
2
Reaction score
0
what is the purpose of registers in microprocessor ?
 
Engineering news on Phys.org


When you give certain commands to the processor the bits currently on the register will undergo logical operations, or be moved to a bus/device.
 


MIC said:
When you give certain commands to the processor the bits currently on the register will undergo logical operations, or be moved to a bus/device.

well, the same could be said of external memory, other external devices, temporary registers, and the like.
 


berkeman is trying to help you learn. If you were not inspired by the reference he gave you, here is another microprocessor reference. We'd like to hear your thoughts after reading this material.
 


Phrak said:
well, the same could be said of external memory, other external devices, temporary registers, and the like.

then why do you have to explicitly read from or write to external memory using the registers, while information on the registers can directly be manipulated with the ALU
 
Last edited:


MIC said:
then why do you have to explicitly read from or write to external memory using the registers, while information on the registers can directly be manipulated with the ALU

Now, I think you've answered the OPs question at the programming level.