Sponsored Links


Results 1 to 1 of 1

Thread: cs401 assignment no 1 spring may 2015 solution for idea

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

    cs401 assignment no 1 spring may 2015 solution for idea

    Sponsored Links1


    CS401 - Computer Architecture and Assembly Language Programming Assignment No. 1 Solution and Discussion Spring 2015 Due Date: May 20, 2015 spring 2015 idea solution

    Question 1 Marks 10

    Suppose the current state of all registers, pointers and segments are provided through the AFD snap

    You are required to calculate Physical Addresses for the following two combinations:

    1. BX+SI+0xFF00
    2. BP+DI+0xA000



    Question 2 Marks 10
    Assume the following Pseudo Code and convert it into proper assembly language instructions that should be assembled and debugged using NASM.


    1. Declare an array named as P_NUM of 5 elements that contains first five prime numbers.
    2. Set CX to 5 in decimal.
    3. Move the first element of P_NUM array to the AX.
    4. Move the fourth element of P_NUM array to the BX.
    5. Move last element from P_NUM array to the DX.
    6. Add the values of AX and BX and store the result in AX.
    7. Add the values of new AX and DX and store the result in BX.


    Sponsored Links

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 0
    Last Post: 05-15-2015, 03:20 AM
  2. Replies: 0
    Last Post: 10-11-2012, 03:54 PM
  3. Replies: 1
    Last Post: 01-08-2012, 08:34 PM
  4. Replies: 0
    Last Post: 12-28-2011, 04:30 PM
  5. cs401 idea solution july 2011
    By msmunirm1 in forum GDB Discussion
    Replies: 4
    Last Post: 07-09-2011, 12:44 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