All Questions
5
questions
3
votes
7
answers
3k
views
Is it possible to update exactly 1 byte in RAM?
For example I have a static C++ array {'d', 'o', 'c', 's'}. And I have x86 architecture, with 32-bits length words.
I want to replace letter c with g. As far as I understand, when we make a read ...
3
votes
4
answers
20k
views
The difference between accumulator-based and register-based CPU architecture?
I don't understand the difference between an accumulator-based CPU architecture and a register-based CPU architecture. I know x86 is register-based but it has an accumulator-like register. I only ever ...
1
vote
3
answers
2k
views
Why can less precise data like float be faster than larger, more precise data like double?
I am currently reading a chapter in a textbook on Processor Architecture and saw the following statement:
The less precision there is, the less space is occupied by a program variable in memory. ...
2
votes
3
answers
3k
views
Source of loading value to the register or memory location
When we load a register or memory location with a value (e.g. MVI 3A or MVI 53), what initializes register or memory location with that specific value? It is the CPU who performs the initialization, ...
32
votes
4
answers
42k
views
What are CPU registers?
This question has been bothering me for some time now and today I figured I would Google it. I've read some stuff about it and it seemed very similar to what I've always known as processor cache.
Is ...