1. Engineering
  2. Computer Science
  3. 2 mips memory a how many locations of memory can...

Question: 2 mips memory a how many locations of memory can...

Question details

2. MIPS Memory

(a) How many locations of memory can you address with 12-bit memory address?

(b) How many bits are required to address a 2-Mega-location memory, i.e, what should the length of the memory address be in order to access a 2M memory?

(c) Assume intArray is an integer array with 20 elements stored in memory and its starting memory address is in $s2. What is the memory address for element intArray [10]?

(d) Assume charArray is a character array with 20 elements stored in memory and its starting memory address is in $t5. What is the memory address for element charArray[5]?

Solution by an expert tutor
Blurred Solution
This question has been solved
Subscribe to see this solution