We are here with you hands in hands to facilitate your learning & don't appreciate the idea of copying or replicating solutions. Read More>>
CS401 Assignment No 01 Solution & Discussion Due Date: 14-11-2017
Assignment No.1 has been uploaded; its due date is Tuesday, 14-November-2017.
Note 1: Assignment will not be accepted via email in any case. Upload your assignment on VU-LMS with in due date.
Note 2: All times on VU-LMS as according to Pakistan Standard Time (PKT)
Share This With Friends......
Question: 1 [15 Marks]
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.
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)
Respected Tariq sb kindly guide me one thing about CS401 assignment no 1 of Nov 2017.
Every thing is perfect but after thousand tries i am failed to get the maximum and minimum value in my afd screen.
Go through the following links to install and use NASM , we have provided the NASM software and tutorial on your LMS download section.
Video Tutorial http://vulms.vu.edu.pk/Courses/CS401/Downloads/CS401.mp4
For 64-bit OS you have to use DOSBOX emulator. Follow the steps provided in tutorial.
You have to install NASM first then have to perform these steps.
Please Discuss here about this assignment.Thanks
Our main purpose here discussion not just Solution
We are here with you hands in hands to facilitate your learning and do not appreciate the idea of copying or replicating solutions. Read More>>
For Important Helping Material related to this subject (Solved MCQs, Short Notes, Solved past Papers, E-Books, FAQ,Short Questions Answers & more). You must view all the featured Discussion in this subject group.
For how you can view all the Featured discussions click on the Back to Subject Name Discussions link below the title of this Discussion & then under featured Discussion corner click on the view all link.
Or visit this link
Please Click on the below link to see…
P.S: Please always try to add the discussion in proper format title like “CS101 Assignment / GDB No 01 Solution & Discussion Due Date: ___________”
How we will make this assignment ? in word format kindly explain ?
Dear Students Don’t wait for solution post your problems here and discuss ... after discussion a perfect solution will come in a result. So, Start it now, replies here give your comments according to your knowledge and understandings....
Check it,,, Cs401 assignment 1 Solution
SLAm all boys Check this solution and see if it is correct plz respond on this i was first time share my solution on..Jazakallah
wrong the solution
Check the correct Solution CS401 assig#1
Can u send the Screen shoot of this code?