c) The figure below depicts the entire memory space of a microprocessor. Each me
ID: 3881908 • Letter: C
Question
c) The figure below depicts the entire memory space of a microprocessor. Each memory address occupies one byte. (12 pts) - What is the size (in bytes, KB, or MB) of the memory space? What is the address bus size of the microprocessor? If we have a memory chip of 512KB, how many bits do we require to address 512KB of memory? We want to connect the 512KB memory chip to the microprocessor. Provide a list of all the possible address ranges that the 512KB memory chip can occupy. You can only use the non-occupied portions of the memory space as shown below. - 8 bitsExplanation / Answer
1. To calculate size of Memory space -
Total bytes (B) = number of memory addresses = 0 to 3FFFFF (base16) = 4194304 bytes (base10)
Size in KB = Total bytes (B) /1024 = 4194304/1024 = 4096 KB
Size in MB = Size in KB / 1024 = 4096 /1024 = 4 MB
To Calculate address bus size - As memory address occupies one byte, so total number of bytes is equal to address bus size. Size of address bus determines the number of memory locations it can address i.e. 0 to 0x3FFFFF which equals 4194304 addresses.
4194304 (base10) = 0100 0000 0000 0000 0000 0000 (base2). We have 22 0's (zeros) before 1 in binary format. Hence address bus size is 22 bit.
2. In a memory chip of 512 KB, we require 19 bits for address 512KB of memory.
512 KB = 512 x 1024 = 524288 bytes (base10) = 1000 0000 0000 0000 0000 (base2) . We have 19 0's (Zeros) before 1 in binary format. Hence address bus size is 19 bit.
3. in 512 KB memory chip, we have total 524288 addresses from 0 to 524287 in bytes.
524287 (base10) = 7FFF (base16), hence there are addresses from 0 to 7FFF in 512 KB memory chip.
the possible address range can start from first unoccupied position 100000 to 17FFFF, similarly 180000 to 1FFFFF , 200000 to 27FFFF, 280000 to 2FFFFF and 300000 to 37FFFF.
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.