VU Projects Video Lectures Handouts Past Papers Quizzes Assignments & GDB border= Members Free SMS Service FB Page
VU Projects Video Lectures Handouts Past Papers Quizzes Assignment,GDB Members SMS Service FB Page

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: 96
Latest Activity: 2 hours ago

Discussion Forum

cs401 assingment # 3 solution 2017

Started by Muhammad Hasan 2 hours ago.

CS401 Assignment 3 Solution & Discussion Due Date 20th July 2017 8 Replies

Started by Cute S@mra. Last reply by Sajid Hussain 8 hours ago.

CS401 idea solution

Started by Muhammad Bilal 19 hours ago.

CS401 idea solution

Started by Muhammad Bilal 20 hours ago.

CS401 Midterm Paper Spring 2017 from 3 June To 14 June 11 Replies

Started by Cute S@mra. Last reply by Cute S@mra Jun 11.

CS401 Quiz*2 (05-30-2017 )

Started by ღ*`* вίвά şάħάв *`*ღ May 30.

CS401 Quiz*1

Started by ღ*`* вίвά şάħάв *`*ღ May 29.

CS401 Assignment 2 Spring 2017 Due Date 16 May 2017 19 Replies

Started by Cute S@mra. Last reply by Cute S@mra May 16.


4th Sem

CS 401 ASSIGNMENT 1 DUE DATE 2 MAY 2017 6 Replies

Started by + + ღ♥!~Ӑӎᴤᶏḫ ṦђƐịκҤ~!♥ღ+ +. Last reply by ღ*`* мùţέ ķùŕί *`*ღ May 3.

Cs401 All Current Final Term Paper From 25 Feb To 8 March 2017 2 Replies

Started by Cute S@mra. Last reply by Cute S@mra Mar 1.

CS 401 gdb discussion 3 Replies

Started by +" Heaven Scent "+. Last reply by Cute S@mra Feb 17.

Cs401 Assignment 4 Solution 4 Replies

Started by Cute S@mra. Last reply by +" Heaven Scent "+ Feb 9.

CS401 Final term stuff 8 Replies

Started by Cute S@mra. Last reply by Cute S@mra Jan 27.

Assignment 3 Replies

Started by +" Heaven Scent "+. Last reply by Cute S@mra Jan 19.

CS401 Assignment # 2 Due Date: 29 Nov, 2016 1 Reply

Started by + ★☺caмe4ѕтυdιeѕ☺★. Last reply by + ★☺caмe4ѕтυdιeѕ☺★ Nov 29, 2016.

CS401 Assignment # 1 Due date: 14 Nov, 2016 2 Replies

Started by + ★☺caмe4ѕтυdιeѕ☺★. Last reply by + ★☺caмe4ѕтυdιeѕ☺★ Nov 13, 2016.

CS401 GDB due date : 4 aug, 2016 3 Replies

Started by + ★☺caмe4ѕтυdιeѕ☺★. Last reply by + ★☺caмe4ѕтυdιeѕ☺★ Aug 10, 2016.

CS401 Computer Archiecture and Assembly Language Programming

Started by + "ɲąďɨą Ќhąɲ"+ Jul 26, 2016.


5th Sem

Cs401 2nd assignment last date 29 june 8 Replies

Started by ++fairy (BSCS 5th). Last reply by H.M.Naeem Ul Hussan Ghayyur Jun 29, 2016.

Comment Wall

Comment

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


4th Sem
Comment by Mani X Student on February 16, 2017 at 12:49pm


4th Sem
Comment by Mani X Student on 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.

1st Semester
Comment by umair ahmed on 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)

 

 

 

 

 

 

 

 

 

 

 
 
 

SPONSORED LINKS

© 2017   Created by Muhammad Anwar Tahseen.   Powered by

Badges  |  Report an Issue  |  Terms of Service