Sponsored Links


Results 1 to 5 of 5

Thread: CS401- Computer Architecture and Assembly Language Programming Assignment # 2 2010

  1. #1
    Administrator Xpert's Avatar
    Join Date
    May 2010
    Location
    Jhelum
    Posts
    6,239

    Icon14 CS401- Computer Architecture and Assembly Language Programming Assignment # 2 2010

    Sponsored Links1


    Due Date
    Your assignment must be uploaded before or on 22th Nov 2010.
    Upload Instructions
    Please view the document related to assignment submission process provided to you by the Virtual University to upload the assignment.
    Rules for Marking
    Kindly note that your assignment will NOT be graded if:
    § It is submitted after due date
    § The file you uploaded does not open
    § The file you uploaded is copied from someone else
    § It is in the format other than .doc
    Objective
    This assignment has been designed to enable you:
    § To understand how we do logical operation like AND OR
    § To understand bit masking operation
    § To understand how to display value on screen


    Assignment

    Question_1: [marks: 10]
    Find the 2’s complement of a number using bitwise logical operator.

    Question_2: [marks: 10]
    Take a random number of word (dw), form and input this to a subroutine “Is Number Power of Two”. Check number is in power of 2 using bitwise logical operators and then display the return result on the screen if the number is even it diplay that number is even if the number is odd then it display the number is odd.



    Solution will be updated soon.



    Sponsored Links

  2. #2
    Junior Member
    Join Date
    Nov 2010
    Location
    I live in Firoza.Tehsil :Liaquat Pur.Distt:Rahim Yar Khan .Punjab(Pakistan)
    Posts
    6
    Dear Sir,
    plz send the solution CS401- Computer Architecture and Assembly Language Programming Assignment # 2 2010 .


    thnx.

  3. #3
    Junior Member
    Join Date
    Nov 2010
    Location
    I live in Firoza.Tehsil :Liaquat Pur.Distt:Rahim Yar Khan .Punjab(Pakistan)
    Posts
    6
    Dear Sir,
    plz send the solution CS401- Computer Architecture and Assembly Language Programming Assignment # 2 2010 .
    The due date is 22-11-2010.



    thnx.

  4. #4
    Junior Member
    Join Date
    Nov 2010
    Posts
    16
    Quote Originally Posted by Fazeel Ahmad View Post
    Dear Sir,
    plz send the solution CS401- Computer Architecture and Assembly Language Programming Assignment # 2 2010 .


    thnx.
    Its Simple

    Mov BX,AX
    neg BX

  5. #5
    Junior Member
    Join Date
    Nov 2010
    Posts
    16
    2's complement is simple
    Mov BX,AX
    neg BX

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: 0
    Last Post: 07-22-2014, 01:32 AM
  3. Replies: 2
    Last Post: 05-22-2014, 02:48 PM
  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