Can we have a computer with just registers as memory? -


Registers are the fastest memories in the computer, so do we just want to make computers with registers and not even cash? I want to replace magnetic disk with registers, though they are naturally unstable memories. Do we have some non-solvent registers for that experiment? It will be so fast! I'm just thinking that this can happen or not?

"post-text" itemprop = "text">

Very few responses Yes, you can do it in theory, but it does not really work in real life. Let me explain ...

Due to the memory hierarchy is present because those small and fast memory stores are very expensive for a little (registers), while larger And slow memory stores are very cheap for a little (hard drive).

Another reason is that a large number of registers are highly impractical instructions need to refer to memory space . When you have only a handful of registers, you can store register (or registers) number and one opode in a handful of bits, which means that fewer registers do for small and quick instructions. If you are going to the multi-gigabyte collection of registers, you will have to be able to give context in those instructions, and they will be very much (and therefore slow) instructions. EEP if everything was a register, some things can be very fast, but The least number of registers, some things (ie, a computer) are very sharp.

Of course, while most of us think in terms of computers, there are definitely simple tools that are only of registers, but they only have very limited amounts of memory, And they are not made for general purpose computation.

You may be interested in


Comments