Consider a computer system with 16 registers of 32 bit each and RAM of 1GB. Calculate the size of data bus and address bus required for the same
Answers
Answer:
How many memory addresses can we get with a 32-bit processor and 1gb ram and how many with a 64-bit processor?
I think that it's something like this:
1GB of ram divided by 32bits or divided by 4? to get the number of memory addresses?
But i'm not sure. That's why i'm asking.
I red on wikipedia that 1 memory addresses is 32bits wide or 4 octets (1 octet = 8 bits), compared to 64bit a processor where 1 memory addresses or 1 integer is 64bits wide or 8 octets. But don't know if i understood it correctly either
Explanation:
Your data bus can be of any size you like, 4, 8, 16, 32, 64, 128 bits they will all work just fine.
The address bus can be from 1 bit and up it all depends on your addressing scheme.
So the question is severely flawed.
But a rather common answer and the mainstream of computers would be 32 bits data bus and 28-bit address bus.You will be surprised to know that machine can be build with only one bit wide shared address/data bus to access its memory.
Internal structure of processor and size of computer memory do not generally dictate size of data or address buses. All numbers must be given in some context.