Thanks for looking at my questions. If you know this type of thing,
the questions should be rather simple. A couple of things though.
Please explain how you determined the answer as that is what I am
interested in. Please do not use the exact values in the questions,
you may make up other values. If a question has a part a and b, you
only need to answer one part if the second part is solved using the
same method.
------------------------------------------------------------------------
****Assume that a computers address bus is 7 bits wide.
1. How many memory locations can the computer have?
2.If the memory system is byte addressable, how many bytes of memory
can it have?
3. How many bytes of memory can the system have if it is exactly
16-bit addressable?
******For the following questions, refer to figure here
http://www.geocities.com/somoneelse1 and assume byte addressability
(and a 7-bit address bus) (unless stated otherwise).
1. What would you assume the size of a word in this system to be? Why?
In what bank(s) and what row(s) would you find an 8-bit value with
global address
a) 73?
b) 116?
2. In what bank(s) and what row(s) would you find a 16-bit value with
global address
a) 68?
b) 106?
3. Would the system be able to read a 16-bit value from global address
75? Explain your answer.
4. Suppose the system architect added two more memory banks to the
system. Give and describe two consequences of that change.
5. For each of the following addresses, give all the possible
alignments (1-byte, 2-byte or 4-byte). I.e., for address 0x2 we would
write "0x2: 1-byte, 2-byte" because it is both 1-byte and 2-byte
aligned, but not 4-byte aligned.
a) 0x41
b) 0xF0
c) 0xE
6) Suppose the system described above uses a consistent Little Endian
byte addressing scheme and has the following contents in part of
memory:
Address Contents
0 0x59
1 0x6F
2 0x75
3 0x20
4 0x67
5 0x6F
6 0x21
7 0x00
Interpret the memory contents if they represent
a) A continuous ASCII encoded string of characters. (What might
the zero at address 7 indicate?)
b) Two integers each encoded according to the 32-bit 2's complement
scheme. (Show a decimal representation of each integer.) |