CS401 Assignment No 1 Solution Fall 2017 | Virtual Study Solutions

Adsetra Ads

 

CS401 Assignment No 1 Fall 2017

Dear Students, CS401 Assignment Solution has been added. Here you can read or Download CS401 - Computer Architecture and Assembly Language Assignment No 1 Solution and Discussion of Semester Fall 2017. Assignment Due Date is 14 November, 2017. Total Marks are 15. We are here to facilitate your learning and we do not appreciate the idea of copying or replicating solutions. Previously we shared CS401 Mid Term Past Papers / Notes.


CS401 Assignment No 1 Solution Fall 2017
CS401 Assignment No 1 Solution Fall 2017
Recommended : ECO401 Assignment No 1 Solution Fall 2017

CS401 Assignment Question No 1 

You will write a program to find the maximum number and the minimum number from array of fifteen numbers given below. You will store the maximum number in AX and Minimum number in BX register. [15 Marks]

You will use the array given below ,

First and the last number in the array will be from your VU id

(First two digits of your VU id after degree code), 50, 30, 24, 19, 2, 5, 6, 40, 8, 23, 16, 17, 28, (Last two digits of your VU id)

For example If your VU id is bc123456789 you will use array as

12, 50, 30, 24, 19, 2, 5, 6, 40, 8, 23, 16, 17, 28, 89

Explain each instruction of program in comments and also provide/paste snapshot of your assembled and debugged program result which will be run in AFD (A Full Screen Debugger) window showing the executed code and final result i.e. value in AX.

You will submit code and two screen shots in word file.

First screenshot will contain the command to compile the code

Second screenshot will contain the final values in AX and BX

Note 1: You will use conditional jumps to solve the above problem. Marks will not be awarded for using any other approach.

Note 2: keep name of assembly file according to your VU id , i.e. if your VU id is BC123456789 , you will keep name of the assembly code file as 23456789.asm i.e. you will use last 8 digits of your id for the code file name.

Note 3: If the numbers array, files names in the screen shots will not be according to your VU id you will get zero marks.

Note 4: Marking distribution (Code: 5 marks & Snapshots: 10 marks)

Example Run:
Let say your id is BC123456789, you will use array as shown below, note the first and last number in array
12, 50, 30, 24, 19, 2, 5, 6, 40, 8, 23, 16, 17, 28, 89


Recommended : PHY101 Assignment No 1 Solution Fall 2017

CS401 Assignment No 1 Solution Fall 2017

You can Download CS401 Assignment Solution File from the Download Button given below:

CS401 Assignment Solution Download Link

Download

If CS401 Assignment Solution was helpful. Please Share it with your friends. You can also like our Facebook Page or Subscribe Us below for Updates. Thank You.

Post a Comment

 

Top