CS401 Computer Archiecture and Assembly Language Programming

Information

CS401 Computer Archiecture and Assembly Language Programming

CS401 Computer Archiecture and Assembly Language Programming.

Download Lectures, Handouts, Helping Materials, Assignments Solution, Online Quizzes, GDB, Past Papers, Solved Papers and more........

Members: 130
Latest Activity: Jan 2

Discussion Forum

CS401 Current Midterm Papers - Dec, 2018 to Jan 2019

Started by + caмe4ѕтυdιeѕ.
Last reply
by + caмe4ѕтυdιeѕ Jan 2. 2 Replies

CS 401 Assignment Solution Needed

Started by Sayyeda Shah.
Last reply
by imran @ Imran Dec 4, 2018. 1 Reply

CS401 Finalterm Papers from Sep 1st to 13th, 2018

Started by + caмe4ѕтυdιeѕ.
Last reply
by + caмe4ѕтυdιeѕ Nov 6, 2018. 5 Replies

CS401 Final term stuff

Started by Cute S@mra.
Last reply
by + caмe4ѕтυdιeѕ Aug 28, 2018. 11 Replies

CS401 Assign # 3 Due Date: 31st July, 2018

Started by + caмe4ѕтυdιeѕ.
Last reply
by Cute S@mra Aug 1, 2018. 3 Replies


4th Sem

Cs401 Assignment Solution Spring 2018

Started by + Sufyan CH.
Last reply
by Dilawar Rock and Rock. May 21, 2018. 8 Replies

cs401 GDB solution

Started by Muhammad Hasan Jan 31, 2018. 0 Replies

CS 401

Started by Pakiza Noor Oct 22, 2017. 0 Replies

CS 401

Started by Pakiza Noor Oct 22, 2017. 0 Replies

CS401 Exercise 1 Solve

Started by Cute S@mra.
Last reply
by + caмe4ѕтυdιeѕ Oct 21, 2017. 2 Replies

Comment Wall


1st Sem
umair ahmed . May 1, 2012 at 12:42am

Assignment No. 02
Semester: Spring 2012

CS401: Computer Architecture and Assembly Language Programming

 

Total Marks: 20

 

Due Date: 30 April, 2012

Instructions

Please read the following instructions carefully before submitting assignment:

It should be clear that your assignment will not get any credit if:

 

  • The assignment is submitted after due date.
  • The submitted assignment does not open or file is corrupt.
  • Solution is copied from any other source.

Note: You have to upload only .doc file. Assignment in any other format (extension) will not be accepted.

 

Objective

                  The objective of this assignment is to enhance your knowledge about;

 

  • Bit Manipulation
  • Subroutine

 

 

Question no. 1:

 

(a)   Assemble the following instructions and show the changes in given Accumulator register and flags after each instruction execution.                                                                                           (Marks 5)

 

MOV AL, 8Bh                       ; CF = ?, SF = ?, PF = ?, ZF = ?

 

ADD AL, 22h                         ; CF = ?, SF = ?, PF = ?, ZF = ?        

 

AND Al, 1000101b                ; CF = ?, SF = ?, PF = ?, ZF = ?

 

OR Al, 9Ah                            ; CF = ?, SF = ?, PF = ?, ZF = ?

           

XOR AL, 10101011b             ; CF = ?, SF = ?, PF = ?, ZF = ?

 

TEST AL, 2                            ; CF = ?, SF = ?, PF = ?, ZF = ?

 

CMP AL, 58                           ; CF = ?, SF = ?, PF = ?, ZF = ?

 

ADC AL, 11110000b             ; CF = ?, SF = ?, PF = ?, ZF = ?

 

SHR AL,2                               ; CF = ?, SF = ?, PF = ?, ZF = ?

 

 

 

 

Question no. 1 (b):                                                                                                                     (Marks 5)

 

Write a subroutine that can calculate the sum of an array and also save the result into DX.

( Array’s length is 20)

 

Question no. 2

 

Write an assembly language code to calculate the factorial of “7” using a subroutine and also attach the final snapshot of your AFD window.                       

 

                                                                                                                                                  ( Marks:10)

 

 

 

 

 

 

 

 

 

 


6th Sem
Mani BSCS VI . January 18, 2017 at 9:49am
Cs401 Idea Solution
  • Read a character (ASCII code) from keyboard using a BIOS interrupt.
  • You have to print that ASCII character in binary number system using DOS interrupt.
  • Then you have to invert that ASCII code and have to transmit it to a parallel port using a DOS interrupt.

6th Sem
Mani BSCS VI . February 16, 2017 at 12:49pm

Comment

You need to be a member of CS401 Computer Archiecture and Assembly Language Programming to add comments!

 
 
 

Discussion Forum

CS401 Current Midterm Papers - Dec, 2018 to Jan 2019

Started by + caмe4ѕтυdιeѕ.
Last reply
by + caмe4ѕтυdιeѕ Jan 2. 2 Replies

CS 401 Assignment Solution Needed

Started by Sayyeda Shah.
Last reply
by imran @ Imran Dec 4, 2018. 1 Reply

CS401 Finalterm Papers from Sep 1st to 13th, 2018

Started by + caмe4ѕтυdιeѕ.
Last reply
by + caмe4ѕтυdιeѕ Nov 6, 2018. 5 Replies

CS401 Assign # 3 Due Date: 31st July, 2018

Started by + caмe4ѕтυdιeѕ.
Last reply
by Cute S@mra Aug 1, 2018. 3 Replies


4th Sem

Cs401 Assignment Solution Spring 2018

Started by + Sufyan CH.
Last reply
by Dilawar Rock and Rock. May 21, 2018. 8 Replies

cs401 GDB solution

Started by Muhammad Hasan Jan 31, 2018. 0 Replies

SPONSORED LINKS

© 2019   Created by Muhammad Anwar Tahseen.   Powered by

Badges  |  Report an Issue  |  Terms of Service