Last updated: 4/2/01
Link back to course Welcome...
Paper and Pencil Computer: Assignment #1.
Working in small groups (three to four), complete the problems for the Paper and Pencil Computer programs below. Include the names of each member of the group.
Each memory location is shown with its binary address in the top left corner in small text, and its binary contents in the bottom left corner in larger text. Enough room is left for you to write in new contents, but do this in pencil, because the contents may change more than once. First, review the top table for the Worksheet.
Problem 1. PC starts at 00000 (that is, put 00000 in the PC and start the instruction cycle).
| 0000001111011 | 0000100111010 | 0001010011001 | 0001111011001 |
| 0010000011111 | 0010110100011 | 0011000110011 | 0011111001100 |
| 0100001001100 | 0100101011011 | 0101011000110 | 0101111011000 |
| 0110010101100 | 0110110110011 | 0111001011111 | 0111110011010 |
| 1000011101110 | 1000110011011 | 1001010110111 | 1001110110111 |
| 1010000110110 | 1010101101111 | 1011011010011 | 1011101100101 |
| 1100001101101 | 1100110011000 | 1101000001110 | 1101100001011 |
| 1110000011010 | 1110100000001 | 1111000011010 | 1111110010011 |
Problem 2. PC starts at 00010.
| 0000000000001 | 0000100111010 | 0001001110000 | 0001111100101 |
| 0010000011111 | 0010101100010 | 0011000100000 | 0011110000010 |
| 0100011100010 | 0100101011011 | 0101011000110 | 0101111011000 |
| 0110010101100 | 0110110110011 | 0111001011111 | 0111110011010 |
| 1000000000110 | 1000100011011 | 1001010110111 | 1001100000000 |
| 1010000110110 | 1010101101111 | 1011011010011 | 1011101100101 |
| 1100001101101 | 1100110011000 | 1101000001110 | 1101100001011 |
| 1110000011010 | 1110100000001 | 1111000011010 | 1111110010011 |
Problem 3: PC starts at 00010
NOTE: Each time the computer executes a 101 (Read) instruction, you will have to make up a different number that the user types. In each case, make it an eight-bit number (0 to 255). Choose two non-zero numbers, and then zero.
| 0000000000000 | 0000100000000 | 0001010100001 | 0001111000001 |
| 0010001100000 | 0010100100001 | 0011010000000 | 0011101100001 |
| 0100011100010 | 0100111000000 | 0101000000110 | 0101111011000 |
| 0110010101100 | 0110110110011 | 0111001011111 | 0111110011010 |
| 1000011101110 | 1000110011011 | 1001010110111 | 1001110110111 |
| 1010000110110 | 1010101101111 | 1011011010011 | 1011101100101 |
| 1100001101101 | 1100110011000 | 1101000001110 | 1101100001001 |
| 1110000011010 | 1110100000001 | 1111000011010 | 1111110010011 |