Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
CS501 Advance Computer Architecture Assignment No.1 Solution Spring Semester 2013
#1



[B][SIZE="3"]CS501 Advance Computer Architecture Assignment No.1 Solution Spring Semester 2013 due date is 24 April 2013[/SIZE]



Question:

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.


Memory


CPU register

200


1 7 8 1

200

PC

201

5 7 8 2

AC

202

2 7 8 2

1 7 8 1

IR

203

7 8 1

0 0 0 4

7 8 2

0 0 0 2

(STEP 1)

Figure-1

Where,

AC is Accumulator Register.

PC is Program Counter.

IR is Instruction Register.

Submission:

You need to complete execution of the three given instructions and provide step wise registers and memory configuration. Please submit your solution in MS Word format by completing/filling the provided steps on page-4.

Hint Regarding Three Instructions:

First instruction 1781 means Load value stored at address 781 into accumulator register.
Second instruction 5782 means perform addition of value stored at address 781 with value in accumulator register and store the result in accumulator register.
Third instruction 2782 means store value of accumulator register at address 782.
[/B]


Attached Files
.doc   Spring2013_CS501_1.doc (Size: 217.5 KB / Downloads: 144)

0300-9520262
Get solution in 24 hour
|cpmputer & internetConfusedmileys81:[SIZE="4"][SIZE="3"]....[/SIZE][/SIZE]
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  CS301 Assignment # 4 Due Date: 02-Feb-2016 Vuhelper 0 2,322 02-03-2016, 05:38 PM
Last Post: Vuhelper
  CS703 – Advanced Operating Systems Assignment No.3 solution January 2016 Vuhelper 0 5,907 01-23-2016, 09:58 PM
Last Post: Vuhelper
  CS601 Data Communication Assignment No. 03 Solution 23rd January 2016 Vuhelper 1 1,928 01-23-2016, 06:09 PM
Last Post: Vuhelper
  CS403 Assignment No. 03 Solution 23rd January 2016 Vuhelper 2 1,165 01-23-2016, 03:18 PM
Last Post: Vuhelper
  CS506 Web Design and Development Assignment no 3 Solution 3rd January 2016 Vuhelper 0 2,242 01-23-2016, 03:16 PM
Last Post: Vuhelper
  CS724 Software Process Improvement Assignment No 01 Solution 20th January 2016 Vuhelper 0 1,966 01-20-2016, 06:26 PM
Last Post: Vuhelper
  CS711 Software Design Assignment No 01 Solution Due Date Feb 12, 2016 Vuhelper 0 1,664 01-20-2016, 06:24 PM
Last Post: Vuhelper
  CS709 Formal Methods for Software Engineering Assignment No 01 Solution January 2016 Vuhelper 0 1,800 01-20-2016, 06:22 PM
Last Post: Vuhelper
  cs703 assignment no 3 Solution 20th January 2016 Vuhelper 0 1,701 01-20-2016, 06:20 PM
Last Post: Vuhelper
  CS704 Assignment No. 01 Solution January 2016 Vuhelper 0 4,797 01-20-2016, 06:19 PM
Last Post: Vuhelper

Forum Jump:


Users browsing this thread: 1 Guest(s)