Sponsored Links


Results 1 to 9 of 9

Thread: CS401 Computer Architecture and Assembly Language Programming Assignment 3 solution

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

    Icon14 CS401 Computer Architecture and Assembly Language Programming Assignment 3 solution

    Sponsored Links1


    Assignment

    Question No.1 Marks: 10

    Differentiate Synchronous and Asynchronous interrupts. Just give 2 to 3 differences also provide 1 to 2 examples.


    Note: - Your answer must be to the point and in the bullets form otherwise your marks will be deducted.


    Question No.2 Marks: 10

    Read the following lines of code. It will read the mask register from port 0x21 and then set the 1st bit in the register. As soon as it is written back to port 0x21; IRQ 0 which is derived by a timer device will be disabled.
    in al, 0x21 ; read interrupt mask register
    or al, 1 ; set bit to disable IRQ 0
    out 0x21, al ; write back mask register

    Take out line 2 i.e.

    or al, 1

    Modify it to solve the following parts

    1. Set bit to disable IRQ5
    2. Set bit to disable IRQ4
    3. Set bit to disable IRQ7
    4. Set bit to disable IRQ3
    5. Enable IRQ5, IRQ4, IRQ3, IRQ7.

    Sponsored Links
    Attached Files Attached Files

  2. #2
    Administrator Xpert's Avatar
    Join Date
    May 2010
    Location
    Jhelum
    Posts
    6,233
    its the idea solution of cs401 assignment
    download it
    Attached Files Attached Files

  3. #3
    Junior Member
    Join Date
    May 2010
    Posts
    14
    expert bhai cs 401 ki assignment # 3 change ho gai hai

  4. #4

  5. #5
    Junior Member
    Join Date
    Nov 2010
    Posts
    1
    its changed

  6. #6
    Junior Member
    Join Date
    May 2010
    Posts
    14
    ajj extended day hai cs401 ka so please expert bhai

  7. #7
    Administrator Xpert's Avatar
    Join Date
    May 2010
    Location
    Jhelum
    Posts
    6,233
    ok dear kuch kartay han abhi time tu hai.

  8. #8
    Junior Member
    Join Date
    Jul 2010
    Posts
    2
    Assignment has not been changed. it is 4 th assignment.

  9. #9
    Administrator Xpert's Avatar
    Join Date
    May 2010
    Location
    Jhelum
    Posts
    6,233
    solution of question number 2

    Solution:

    Set bit to disable IRQ5
    Or al, 32
    Set bit to disable IRQ4
    Or al, 16
    Set bit to disable IRQ7
    Or al, 128
    Set bit to disable IRQ3
    Or al, 8
    Enable IRQ5, IRQ4, IRQ3, IRQ7.
    and al, 32
    and al, 16
    and al, 8
    and al, 128

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, 04: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, 05:28 PM
  5. Replies: 11
    Last Post: 01-20-2011, 04: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 | Jobs