Latest Activity In Study Groups

Join Your Study Groups

VU Past Papers, MCQs and More

We non-commercial site working hard since 2009 to facilitate learning Read More. We can't keep up without your support. Donate.

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)




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.




CPU register


1 7 8 0




5 7 8 2




2 7 8 2

1 7 8 0








7 8 0

0 0 0 4


7 8 2

0 0 0 2

(STEP 1)









Table 1



  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.



  • 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.















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.  



Views: 7067


Replies to This Discussion

Video Tutorials for Audio Narration


Please Discuss here about this assignment.Thanks

Our main purpose here discussion not just Solution

We are here with you hands in hands to facilitate your learning and do not 

plz ye bta dain k kon se lecture me ha ye topic?

Dear Students Don’t wait for solution post your problems here and discuss ... after discussion a perfect solution will come in a result. So, Start it now, replies here give your comments according to your knowledge and understandings....

This iz previous asimnt solution. Ths assimnt is also same as previous 1.

can you provide us that assignment file?

Idea solution. Thz iz only an idea. 

yr addition end py ni honi kyaa step (6) main ?

Koi solution?

kindly upload the complete solution

A detailed is shown in the tutorial.
Fetch Cycle
The fetch cycle begins with retrieving the address stored in the Program
Counter (PC). The address stored in the PC is some valid address in the
memory holding the instruction to be executed. (In case this address does
not exist we would end up causing an interrupt or exception).The Central
Processing Unit completes this step by fetching the instruction stored at
this address from the memory and transferring this instruction to a special
register – Instruction Register (IR) to hold the instruction to be executed.
The program counter is incremented to point to the next address from
which the new instruction is to be fetched.


Looking For Something? Search Below

Latest Activity

Shaaz WahCantt replied to Mr Siren Head's discussion Ning Chats
17 hours ago
Mr Siren Head replied to Mr Siren Head's discussion Ning Chats
19 hours ago
M. Haris left a comment for Sana rajput
23 hours ago
M. Haris left a comment for Sana rajput
23 hours ago
M. Haris liked Sana rajput's profile
23 hours ago
M. Haris liked MUSFIRA's profile
23 hours ago
M. Haris liked MUSFIRA's profile
23 hours ago
MUSFIRA replied to Mr Siren Head's discussion Ning Chats
23 hours ago

VIP Member Badge & Others

How to Get This Badge at Your Profile DP


Management: Admins ::: Moderators

Other Awards Badges List Moderators Group

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

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