PROMOTE MY BLOG: JUST CLICK BELOW BUTTON

Search Any Paper On This Blog

Friday, May 17, 2013

Re: ::: vuaskari.com ::: CS401 Assignment No. 3 Discussion and idea solution

Note:

Assignment comprises of lectures No. 14-19.



 Best of Luck!

Your time is limited, so don't waste it living someone else's life.
Don't be trapped by dogma - which is living with the results of other people's thinking.
Don't let the noise of other's opinions drown out your own inner voice.

And most important, have the courage to follow your heart and intuition.

They somehow already know what you truly want to become. Everything else is secondary."

Steve Jobs


On Fri, May 17, 2013 at 4:04 AM, aspirant bibliophile <aspirant.bibliophile@gmail.com> wrote:


Computer Architecture and Assembly Language Programming (CS401)

 

Assignment No. 3

 

  Total marks = 20

                                                                                    Deadline Date = May 20, 2013

 



Question:

 

We have an array of whole numbers in the main program as follows:

ARRAY :  0,1,2,3,4,5,6,7,8,9,10

 

 

You are required to write an assembly language program having a subroutine "SUM_OF_SQUARE". The subroutine should find out the square of each number and then add them together along with storing the result into a separate data label "SUM" as follows:

 

 

 

Copy "SUM" into "DX" after executing the subroutine.

 

 

Provide the final snapshot of AFD that should display the contents of data label "SUM" and "DX".

 

 

 

 

Marking Distribution:                                                                                  (Total = 20 marks)

 

1.      Writing correct subroutine.                                                                 (15 marks)

2.      AFD command used for showing data in data label "SUM".                        (2 marks)

3.      AFD snapshot showing result of "SUM" and "DX".                                    (3 marks)

 

 

 

Best of luck!

--
We say, "Be one as Pakistani Nation and grow up for Pakistan's Future". Wish you all the best. Join www.vuaskari.com,
To post to this group, send email to vuaskari_com@googlegroups.com
Visit these groups:
This (Main) Group:http://groups.google.com/group/vuaskari_com?hl=en?hl=en
MIT/MCS Group: http://groups.google.com/group/vu_askarimit?hl=en?hl=en
HRM Group: http://groups.google.com/group/askari_hrm?hl=en?hl=en
Banking Group: http://groups.google.com/group/askari_banking?hl=en?hl=en
Management: https://groups.google.com/group/vuaskari_mgt?hl=en
Marketing: https://groups.google.com/group/vuaskari_mkt?hl=en
MIS Group: http://groups.google.com/group/askari_mis?hl=en
 
 

--
We say, "Be one as Pakistani Nation and grow up for Pakistan's Future". Wish you all the best. Join www.vuaskari.com,
To post to this group, send email to vuaskari_com@googlegroups.com
Visit these groups:
This (Main) Group:http://groups.google.com/group/vuaskari_com?hl=en?hl=en
MIT/MCS Group: http://groups.google.com/group/vu_askarimit?hl=en?hl=en
HRM Group: http://groups.google.com/group/askari_hrm?hl=en?hl=en
Banking Group: http://groups.google.com/group/askari_banking?hl=en?hl=en
Management: https://groups.google.com/group/vuaskari_mgt?hl=en
Marketing: https://groups.google.com/group/vuaskari_mkt?hl=en
MIS Group: http://groups.google.com/group/askari_mis?hl=en
 
 

No comments:

Post a Comment

PLEASE COMMENT ABOUT YOUR VISIT AND MY SITE

Note: Only a member of this blog may post a comment.