We have been working very hard since 2009 to facilitate in your learning Read More. We can't keep up without your support. Donate Now.

www.bit.ly/vucodes

+ Link For Assignments, GDBs & Online Quizzes Solution

www.bit.ly/papersvu

+ Link For Past Papers, Solved MCQs, Short Notes & More


Assignment No. 02
Semester: Spring 2015

CS501: Advanced Computer Architecture

Total Marks: 20

Due Date: 04/06/2015

 

Please read the following instructions carefully before submitting assignment.

It should be clear that your assignment will not get any credit if:

 

  • The assignment is submitted after due date.
  • The submitted assignment does not open or file is corrupt.
  • Assignment is copied(partial or full) from any source (websites, forums, students, etc)

 

Objective:

 

The objective of this assignment is to provide an in-depth experience of:

  • Fetch-Execute Cycles of Assembly Language instructions.
  • Setting of different registers and main memory during execution.
  • Learn to prepare audio presentation in power point using audio narration.

 

Assignment Description:

 

In this assignment, you are going to understand instruction cycles (fetch-execute cycles) of an assembly program which performs addition operation. The program has total three instructions placed at memory addresses from 200 to 204. For each instruction, there will be one-fetch cycle and one-execute cycle. So there will be total six (6) cycles (steps) of this program.

 

In the below given table, Step-1 of the program has already been provided to you as an example.

 

  Memory

 

CPU register

200

1 7 8 0

202

PC

202

5 7 8 2

 --

AX

204

2 7 8 2

1 7 8 0

IR

206

 

 

 

:

 

7 8 0

0 0 0 4

 

7 8 2

0 0 0 2

(STEP 1)

 

 

 

 

 

 

 

 

Table 1

Question:

 

  1. 1.           You are required to solve the remaining five cycles (steps) of the program using given hints. Also, write the description of each step.
  2. 2.           Explain any one step (cycle) of the program using Audio Narration.

 

Hints:

  • You have to add the contents of memory at address 780 to the contents of memory at address 782. After performing the addition, result should be stored back at address 782.
  • After the completion of each cycle, the value of one or more registers will be updated.
  • AX register will act as an implied source or destination operand in each instruction.
  • PC (Program Counter) will hold the address of next instruction to be executed.
  • IR (Instruction Register) will hold the contents of current instruction which is being executed.
  • First 4 bits (hexadecimal digit at left most) of the value of IR register is the op-code which will represent the type of operation to be performed. For example:
    • Hex value 1 in IR register is the op-code to load data from memory to register.
    • Hex value 5 in IR register is the op-code to perform add immediate operation,
    • Hex value 2 in IR register is the op-code for store operation to write data from register into memory.
    • Remaining 12 bits of the IR register are the address of the one of the source or destination operand.

Guidelines for Assignment Submission:

A PowerPoint file has already been attached. You are required to complete the remaining steps in the attached power point file (.ppt) and submit that file through LMS.

Following guidelines should be kept in mind to solve the assignment.

  1. 1.     After completing the steps, you need to explain any one (1) of the steps using AUDIO NARRATION. You will have to explain the step in detail in your own voice. The purpose of conducting this activity is to help us to judge your understanding about the given topic.
  2. 2.     While recording audio narration, don’t forget to speak your name and VU-ID in the beginning otherwise no marks will be given.

Guidelines for Recording Audio Narration:

The guidelines about how you will record your voice are given below.

  1. 1.     You have to record your voice in the power point file that is attached with assignment file.
  2. 2.     Record your voice presentation using the method given in demo video files attached with assignment. If you are using Office 2003 then watch “Audio Narration Recording Office 2003” video and for Office 2007 use “Audio Narration Recording Office 2007” video file.  
  3. 3.     The total time for voice recording should not exceed 5 minutes.
  4. 4.     Double check that your recorded narration is working fine and voice is clear for listening before submission. For this purpose you can run your presentation on multiple computers.
  5. 5.     If your audio is not properly recorded, audio is not clear or submitted file is corrupt then you will receive zero marks in this activity.

 

 

 

 

 

 

 

 

 

 

 

 

 

Note:

Solution must be submitted in the attached .ppt file (Presentation_Assignment 2).

Solution submitted in MS Word, PDF, Image or any other format will not acceptable.

Solution submitted through email will also not acceptable.  

 

 


+ http://bit.ly/vucodes (Link for Assignments, GDBs & Online Quizzes Solution)

+ http://bit.ly/papersvu (Link for Past Papers, Solved MCQs, Short Notes & More)

+ Click Here to Search (Looking For something at vustudents.ning.com?)

+ Click Here To Join (Our facebook study Group)


Views: 7004

Attachments:

Replies to This Discussion

any one share power point slids plzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz

AoA! M Imran Aajiz Great...

RSS

Latest Activity

Mifa Fadel liked +M.Tariq Malik's discussion SOC101 Introduction to Sociology Assignment 01 Fall 2020 Solution / Discussion
34 minutes ago
shifa arshad added a discussion to the group CS605 Software Engineering-II
3 hours ago
shifa arshad joined +M.Tariq Malik's group
3 hours ago
Profile Iconиαвєєℓ αнмє∂ and Ali Fahad joined +M.Tariq Malik's group
4 hours ago
shifa arshad replied to +M.Tariq Malik's discussion MGT502 Organizational Behavior GDB No 01 Fall 2020 Solution / Discussion in the group MGT502 Organizational Behavior
6 hours ago
shifa arshad joined +M.Tariq Malik's group
6 hours ago
+ !! SARAH replied to Hafiza Tehreem Fatima's discussion BIRTHDAY CELEBRATION OUR BELOVED <MEMBER SARAH ABDUL
6 hours ago
+ ᴄᴏғғᴇᴇ updated their profile
6 hours ago
Rizwan Mushtaq joined +M.Tariq Malik's group
7 hours ago
Arooj Shahid liked 乇メ-丂イひり3刀イ.'s discussion *** My Drawing ***
7 hours ago
Arooj Shahid liked 乇メ-丂イひり3刀イ.'s discussion *** الوداع اردو ***
7 hours ago
Arooj Shahid liked Miss. Churhail's discussion LOVE YOUR LIFE!!!!!
7 hours ago
Arooj Shahid liked Hafiza Tehreem Fatima's discussion BIRTHDAY CELEBRATION OUR BELOVED <MEMBER SARAH ABDUL
7 hours ago
Arooj Shahid liked Omar's discussion Dua
7 hours ago
+!!! ❤️ Shadow Girl❤️!!! liked 乇メ-丂イひり3刀イ.'s discussion *** الوداع اردو ***
8 hours ago
+!!! ❤️ Shadow Girl❤️!!! liked Hafiza Tehreem Fatima's discussion BIRTHDAY CELEBRATION OUR BELOVED <MEMBER SARAH ABDUL
8 hours ago
+M.Tariq Malik replied to +M.Tariq Malik's discussion MGT201 Financial Management GDB No 01 Fall 2020 Solution / Discussion in the group MGT201 Financial Management
8 hours ago
+M.Tariq Malik replied to +M.Tariq Malik's discussion MGT201 Financial Management GDB No 01 Fall 2020 Solution / Discussion in the group MGT201 Financial Management
8 hours ago
Profile IconSaba Shahzadi, waqar, Hammad Syed and 12 more joined Virtual University of Pakistan
8 hours ago
+M.Tariq Malik replied to +M.Tariq Malik's discussion ENG001 Elementary English GDB No 01 Fall 2020 Solution / Discussion Last Date: 04-12-2020 in the group ENG001 Elementary English
8 hours ago

© 2020   Created by +M.Tariq Malik.   Powered by

Promote Us  |  Report an Issue  |  Privacy Policy  |  Terms of Service

.