| Main Memory |
| Address | Contents |
| 0000 | 00101011 |
| 0001 |
10001110 |
| 0010 | 10101001 |
| 0011 | 00000000 |
| 0100 | 10001011 |
| 0101 | 00011000 |
| 0110 | 11111111 |
| 0111 | 01100010 |
| 1000 | 00101000 |
| 1001 | 11110000 |
| 1010 | 10101011 |
| 1011 | 10111100 |
| 1100 | 11010000 |
| 1101 |
01000111 |
| 1110 |
00001100 |
| 1111 | 10001001 |
|
| CPU |
| |
|
| Program Counter |
0010 |
| Instruction Register | 10001110 |
| Accumulator | 00000010 |
| Instruction Decoder |
|
| |
| Add |
| Subtract |
| Compare to Zero |
| etc... |
|
|
Note that the accumulator now contains the "answer" 00000010.
This completes the execution of one instruction. The last step in
the fetch-execute cycle is...
Step 4: Go back to step 1 and start over again!!!
|