We are here with you hands in hands to facilitate your learning & don't appreciate the idea of copying or replicating solutions. Read More>>

Looking For Something at vustudents.ning.com? Click Here to Search

www.bit.ly/vucodes

+ Link For Assignments, GDBs & Online Quizzes Solution

www.bit.ly/papersvu

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


Dear Students! Share your Assignments / GDBs / Quizzes files as you receive in your LMS, So it can be discussed/solved timely. Add Discussion

How to Add New Discussion in Study Group ? Step By Step Guide Click Here.

CS401 Assignment No Solution & Discussion Due Date 16 May 2017

Computer Architecture and Assembly Language Programming (CS401)

Assignment # 02

 

Total marks = 20                                                                              

 

Deadline Date

16th of May,

2017

 

Please carefully read the following instructions before attempting assignment.

 

RULES FOR MARKING

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

  • The assignment is submitted after the due date.
  • The submitted assignment does not open or file is corrupt.
  • Strict action will be taken if submitted solution is copied from any other student or from the internet.

 

You should consult the recommended books to clarify your concepts as handouts are not sufficient.

 

You are supposed to submit your assignment in .doc or docx format.

Any other formats like scan images, PDF, zip, rar, ppt and bmp etc will not be accepted.

 

Topic Covered:

  • Branching
  • Unconditional Jumps & Relative Addressing
  • Bit Manipulation
  • Multiplication
  • Bitwise Operations & Masking Operations

 

 

NOTE

 

No assignment will be accepted after the due date via email in any case (whether it is the case of load shedding or internet malfunctioning etc.). Hence refrain from uploading assignment in the last hour of deadline. It is recommended to upload solution file at least two days before its closing date.

 

If you people find any mistake or confusion in assignment (Question statement), please consult with your instructor before the deadline. After the deadline no queries will be entertained in this regard.

 

For any query, feel free to email at:

cs401@vu.edu.pk

 

 

 

Questions No 01                                                                               20 marks

An arithmetic progression (AP) or arithmetic sequence is a sequence of numbers such that the difference between the consecutive terms (An-1 & An) is constant “d”.

 

You are required to write assembly language code that has two different subroutines:

 

  • Subroutine to generate an Arithmetic Sequence

You will have to write a subroutine named as “A_Sequence”, which will use some local variables “ASeq” & “Ddiff”.

  • Where the “Ddiff” is a data word contains Dh (0xD).
  • The Arithmetic Sequence “ASeq” will start from a decimal number 3.

 

This subroutine will generate first 10 terms of Arithmetic Sequence (ASeq). So, Arithmetic Sequence (ASeq) will be shown as:

 

 

  • Subroutine to find the Arithmetic Sequence Term.

You will have to write a subroutine named as “N_Term”. In this subroutine, while using the Arithmetic Sequence (ASeq) and (Ddiff) from previous subroutine, you are required to find the value of 23rd term of arithmetic sequence.

+ How to Follow the New Added Discussions at Your Mail Address?

+ How to Join Subject Study Groups & Get Helping Material?

+ How to become Top Reputation, Angels, Intellectual, Featured Members & Moderators?

+ VU Students Reserves The Right to Delete Your Profile, If?


See Your Saved Posts Timeline

Views: 5686

.

+ 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)

Replies to This Discussion

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 appreciate the idea of copying or replicating solutions. Read More>>

 

Note:-

For Important Helping Material related to this subject (Solved MCQs, Short Notes, Solved past Papers, E-Books, FAQ,Short Questions Answers & more). You must view all the featured Discussion in this subject group.

For how you can view all the Featured discussions click on the Back to Subject Name Discussions link below the title of this Discussion & then under featured Discussion corner click on the view all link.

Or visit this link 

Click Here For Detail.

&

.•°How to Download past papers from study groups°•.

 

Please Click on the below link to see…

.... How to Find Your Subject Study Group & Join .... 

any ideas guys???

Anybody done it?

not able to understand because how come sequence contain alphabets

plz assignment dekh dy thek hy ya nhi

Attachments:

No its not right!
You didn't declare the variables neither you made any subroutine.

plz sehi solution upload ker den

Koi Allah ka bnda ya bndi sahe assignment solution upload kar do plz

Try something by yourself as well and share it here. Don't search for complete solution all the time do it by yourself and at the end a complete final solution will be concluded.

CS401 Solution 

Attachments:

same files sir!

this is not complete solution

RSS

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

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

.