Sponsored Links


Results 1 to 3 of 3

Thread: Computer Architecture and Assembly Language Programming (CS401) Assignment 1 May 204

  1. #1
    Senior Member
    Join Date
    Oct 2012
    Posts
    323

    Computer Architecture and Assembly Language Programming (CS401) Assignment 1 May 204

    Sponsored Links1



    Computer Architecture and Assembly Language Programming (CS401) Assignment # 1(Graded)

    Question:
    Write an assembly language code to write subroutines for the following two binomial theorems:

    SROUTINE_SUM: SUM_SQ = (A+B)2 = A2 + B2 + 2*A*B

    SROUTINE_DIF: DIF_SQ = (A-B)2 = A2 + B2 - 2*A*B

    Sponsored Links

    Where SUM_SQ, DIF_SQ, A and B are predefined data labels while SROUTINE_SUM and SROUTINE_DIF are the subroutine names.
    Testing values for A and B are 3 and 2 respectively.
    You have to attach the snapshot of AFD debugger showing the calculated values in SUM_SQ and DIF_SQ.



  2. #2
    Senior Member
    Join Date
    Oct 2012
    Posts
    323
    SUM_SQ, DIF_SQ,
    ko call krvanen aur phr in main
    phr inko SUM_SQ,
    main is k codes likhen aur
    ret krvaen
    phr
    DIF_SQ,
    main is k codes aur ret krvanen
    codes main ny doc file main dy deay hen ap lec 13 lazmi parhen taky call aur ret samjhna asan ho......

  3. #3
    Senior Member
    Join Date
    Oct 2012
    Posts
    323
    Please post Assignment Related help

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 1
    Last Post: 11-27-2014, 03:01 PM
  2. Replies: 1
    Last Post: 11-24-2014, 02:31 PM
  3. Replies: 0
    Last Post: 07-22-2014, 01:32 AM
  4. CS401 Assignment No: 2 Computer Architecture and Assembly Language Programming
    By vuassignments in forum Assignments & Solutions
    Replies: 0
    Last Post: 12-05-2013, 04:28 PM
  5. Replies: 11
    Last Post: 01-20-2011, 03:27 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
-: Vuhelp Disclaimer :-
None of the files shown here are hosted or transmitted by this server. The links are provided solely by this site's users. The administrator's or staff of Vuhelp.net cannot be held responsible for what its users post, or any other actions of its users. You may not use this site to distribute or download any material when you do not have the legal rights to do so. It is your own responsibility to adhere to these terms. If you have any doubts about legality of content or you have any suspicions, feel free to contact us.
Online Education | JhelumSoft