terms of the number of bytes) can you address with 17-bit memory address? (b) How many bits are required to address a 64-Mega-location memory, i.e, what should the number of bits of the memory address be in order to access a 64MB memory? (c) Assume A is an integer array with 20 elements stored in memory and its starting memory address is in X3. What is the memory address for element A[5]?

EBK JAVA PROGRAMMING
9th Edition
ISBN:9781337671385
Author:FARRELL
Publisher:FARRELL
Chapter8: Arrays
Section: Chapter Questions
Problem 15RQ
icon
Related questions
Question

3. Memory (a) How many locations of memory (in terms of the number of bytes) can you address with 17-bit memory address? (b) How many bits are required to address a 64-Mega-location memory, i.e, what should the number of bits of the memory address be in order to access a 64MB memory? (c) Assume A is an integer array with 20 elements stored in memory and its starting memory address is in X3. What is the memory address for element A[5]? (d) Assume C is a character array with 20 elements stored in memory and its starting memory address is in X4. What is the memory address for element C[12]? (e) Write at least five different ways to assign 0 to register X3. 

Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Array
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT