Question: The digital pet works like the Little Man Computer example from the lecture. It has instructions for moving data between registers, adding and subtracting values,
The digital pet works like the Little Man Computer example from the lecture. It has instructions for moving data between registers, adding and subtracting values, asking for input, and output. The engineering team would like your input about the graphics in order to make the toy display them.
Here are some things you should keep in mind:
- Each memory address is 16 bits long.
- Each address can hold 16 bits of data.
- Each instruction is 16 bits long.
The engineers want to dedicate a portion of the memory addresses to the display. This means that they will take a consecutive set of addresses and instead of attaching them to memory; they will attach them to the display. This means that when you want to show an image on the display, you move the image data to the appropriate set of addresses. This is actually a common way of implementing I/O called memory mapped I/O.
Questions
- Considering each address can hold only 16 bits of data, how many addresses are required for the display? Explain your answer.
- If we the engineers want to put those reserved addresses in the highest portion of memory, then what memory addresses will need to be reserved? Explain your answer and use hexadecimal.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
