Recitation 5 Exercise
Goals
The goal of this week's recitation assignments is to familiarize yourselves with hexadecimal and TOY fundamentals.
Exercises
-
Please convert the following Hexadecimal numbers to decimal and binary numbers. Keep in mind that using an online converter defeats the purpose of the exercises, as you will not have a converter for the final exam, although for question 5 you may wish to use a calculator. If you have not seen it before, 0x simply signifies that the number is in Hexadecimal format.
- 0xA
- 0xE
- 0x10
- 0xAF
- 0xAEFF
- What is the PC in Toy? That is, what does the acronym stand for and what is the function of the PC?
- How many registers does Toy have? What is the difference between a register and a memory?