Sponsored Links


Results 1 to 1 of 1

Thread: CS501 Advance Computer Architecture Assignment No.1 Solution Spring Semester 2013

  1. #1
    Administrator Vuhelper's Avatar
    Join Date
    Apr 2011
    Posts
    9,578

    18 CS501 Advance Computer Architecture Assignment No.1 Solution Spring Semester 2013

    Sponsored Links1





    CS501 Advance Computer Architecture Assignment No.1 Solution Spring Semester 2013 due date is 24 April 2013


    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:

    Sponsored Links

    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.
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. CS501 Advance Computer Architecture Assignment No. 04 Solution Spring 2014
    By education-2014 in forum Assignments & Solutions
    Replies: 2
    Last Post: 12-10-2014, 11:49 PM
  2. Replies: 0
    Last Post: 05-06-2013, 10:26 PM
  3. Replies: 0
    Last Post: 06-25-2012, 10:12 PM
  4. Replies: 2
    Last Post: 07-02-2011, 11:43 PM
  5. Replies: 1
    Last Post: 04-19-2011, 04:49 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
-: Vuhelp Disclaimer :-
None of the files shown here are hosted or transmitted by this server. The links are provided solely by this site's users. The administrator's or staff of Vuhelp.net cannot be held responsible for what its users post, or any other actions of its users. You may not use this site to distribute or download any material when you do not have the legal rights to do so. It is your own responsibility to adhere to these terms. If you have any doubts about legality of content or you have any suspicions, feel free to contact us.
Online Education | JhelumSoft