Question: Can someone help me answer these? The following table represents a small memory. Refer to this table for the following questions. Address Data 0 0

Can someone help me answer these?
The following table represents a small memory. Refer to this table for the following
questions.
Address Data
00000001111001000011
00011111000000100101
00100110111100000001
00110000000000000000
01000000000001100101
01010000000000000110
01101111111011010011
01110000011011011001
For these exercises, we can mostly use location and address interchangeably. An
address in memory and a
location in memory mean basically the same thing.
When we want to talk about the numeric value that represents the physical spot in
memory of some location, we pretty much always call that the
address of the location.
Using a real-world analogy, I can point to a house on my street and say, I wonder
who lives at that address or I wonder who lives at that location and mean the same
thing. But if I want to refer to the number that represents that house, I would always
use
address (as in,Whats your street address?).
Also, remember that location 1 doesnt mean the first location. Its the location
whose address is 1(in other words, in the example above, the location whose address
is 0001).
1. What binary value does location 3 contain?
2. What binary value does location 6 contain?
The binary value within a given memory location can be interpreted in many ways.
We have seen that binary values can represent unsigned integers, signed magnitude
integers, 2s complement integers, ASCII values, machine instructions, etc.
3. Interpret the contents of location 0 as a 2s complement integer. What is this
number in decimal?
4. Interpret the contents of location 1 as a 2s complement integer. What is this
number in decimal?
5. Interpret the contents of location 4 as a single ASCII character. Standard ASCII
values use only 8 bits, so when you have a 16 bit value and want to interpret it as a
single ASCII value, you just ignore the higher-order bits.
6. Interpret the contents of location 0 as an unsigned integer. What is this number in
decimal?
7. Interpret the contents of location 1 as an unsigned integer. What is this number in
decimal?
8. In the von Neumann model, the contents of a memory location can also be
interpreted as an instruction. If the binary pattern in location 0 were interpreted as an
instruction, what type of instruction would it represent? (Hint: The type of an
instruction is indicated by the opcode field.)
9. A binary value can also be interpreted as a memory address. Suppose the value
stored in location 5 is a memory address. To which location or address does it refer?
10. If the value stored in location 5 is a memory address, what is the binary value
contained at the address pointed to by location 5?
Suppose a computer has 32 GB of RAM and an addressability of 16 bits.
11. How many memory addresses are in this computer?
12. How many bytes are stored at each address in memory?
13. How many bits are in the computer's MAR?
14. How many bits are in the computer's MDR?
Suppose a computer has 16 MB of RAM and is byte addressable.
15. How many memory addresses are in this computer?
16. How many bytes are stored at each address in memory?
17. How many bits are in the computer's MAR?
18. How many bits are in the computer's MDR?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!