I am just starting to learn Assembly (I have worked with c++ before).
I am wondering why do we need to use registers in addition to using memory, why not just use memory?
I guess the most obvious reason is that doing calculations in a register is much faster than doing calculations in memory. But is this the only reason?