Assignment No. 01
CS501: Advanced Computer Architecture
Total Marks: 20
Due Date: 24-04-13
Please read the following instructions carefully before assignment submission.
It should be clear that your assignment will not get any credit if:
The objective of this assignment is:
Dear Student, you are given typical view of selected Memory and Processor registers in Figure 1. In memory, you can see three instruction codes in upper area, while two data values are given in lower part. These instruction codes represent an addition operation.
Addition Operation: You are required to perform an addition operation in which you have to add the contents of memory word at address 781 to the contents of memory word at 782. After performing this addition, result should be stored at 782. Your task is to perform step-by-step execution of these three instructions and show registers configuration at each step.
For your understanding, Step-1 of this sequence of execution is shown in Figure 1. In this Figure, you can see PC=200 which indicate that instruction stored at address 200 is in execution and the same instruction (1781) is loaded in IR register.
AC is Accumulator Register.
PC is Program Counter.
IR is Instruction Register.