Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
CS401 assignment no 2 spring 2011
#1
Please upload the soluation file of this assignment please
[FONT=&quot]Question No. 1:[/FONT][FONT=&quot] 10 Marks[/FONT][FONT=&quot][/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot]Write an Assembly language program as per following instructions and tell what will be the value of CX and BL registers at the End of your program? [/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot]Let say your Roll number is MC7892072[/FONT][FONT=&quot]90[/FONT][FONT=&quot]. So you need to initialize CX with 0, and BX with the least two significant digits of your roll no. i.e. (90 in this case). After this you need to execute the following loop instructions.[/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot]Label1: inc bl [/FONT]
[FONT=&quot] inc cx [/FONT]
[FONT=&quot] cmp bl, 0[/FONT]
[FONT=&quot] jnz Label1 [/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot]Report your values in the BL and CX registers after the execution of the above loop with brief explanation. [/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot]Question No. 2:[/FONT][FONT=&quot] 10 Marks[/FONT][FONT=&quot][/FONT]

[FONT=&quot]Write an Assembly language program as per following instructions and tell what will be the value of BX and CX registers at the End of your program? [/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot]Again, Let say your Roll number is MC78920[/FONT][FONT=&quot]72[/FONT][FONT=&quot]90[/FONT][FONT=&quot]. So you need to initialize BX with [/FONT][FONT=&quot]90 [/FONT][FONT=&quot](least two significant digits of your roll no.), and CX with [/FONT][FONT=&quot]72[/FONT][FONT=&quot] (the next two least significant digits of your roll no.). After this you need to execute the following three XOR instructions.[/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot] xor cx, bx[/FONT]
[FONT=&quot] xor bx, cx[/FONT]
[FONT=&quot] xor cx, bx[/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot]Report your values in the BX and CX registers after the execution of the above three XOR instructions with brief explanation. [/FONT]
[FONT=&quot] [/FONT]


Attached Files
.doc   Spring 2011_CS401_2.doc (Size: 160.5 KB / Downloads: 656)
Reply
#2
please start working on this assignment
Reply
#3
yah tu assembly ki assignment lagti hai
Reply
#4
Xpert bhai jaldi se upload kar dain plzzzzzzzzzz thxxxxxxConfusedmileys77:Confusedmileys77:Confusedmileys77:Confusedmileys77:
Reply
#5
dear abhi tu kafi din paray howay han. Whats the last date of this assignment?
Reply
#6
2 may is the last date only 2 days left please quickly upload this assignment soluation and you are right it is assembly language assignment
Reply
#7
abhi tu kafi din han aur bonus day bhi hai. pershan mat ho moon karo sakoon.
Reply
#8
ok but please do something for us
Reply
#9
ok dear. Mr moon if a post is already in our forum do not start a new post with the same name.
Reply
#10
PLZ post the solution of cs401 assignment as soon as possible because its last date is 2-May-2011.
Thanks
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Need ACC501 - Business Finance Assignment No 2 Solution. Umar Abbas 2 4,249 02-07-2014, 08:23 PM
Last Post: Umar Abbas
  sta301 assignment 4 27 jun bc110200090 6 3,573 01-26-2013, 02:05 AM
Last Post: Vuhelper
  cs506 2nd assignment millee 0 2,655 12-04-2012, 11:30 PM
Last Post: millee
  cs506 2nd Assignment Neelam Ahmad 5 3,123 12-04-2012, 11:24 PM
Last Post: Vuhelper
  CS 504 Assignment 2 need help ommmi 24 11,415 11-27-2012, 04:59 AM
Last Post: Xpert
  Mcs cs402 1st assignment chahat4all 2 3,764 11-01-2012, 11:11 PM
Last Post: chahat4all
  eng201 assignment 4 due date 4/7/2012 bc110200090 6 2,615 07-03-2012, 03:51 PM
Last Post: bc110200090
  need CS304 4th assignment shazma 0 2,053 06-26-2012, 12:48 PM
Last Post: shazma
  sta301 assignment 4 solution vudecent 0 2,393 06-25-2012, 01:51 AM
Last Post: vudecent
  Required Soluction for 3rd Assignment of CS101 bc120200426 1 2,134 06-14-2012, 04:13 PM
Last Post: Vuhelper

Forum Jump:


Users browsing this thread: 1 Guest(s)