We are here with you hands in hands to facilitate your learning & don't appreciate the idea of copying or replicating solutions. Read More>>

Looking For Something at vustudents.ning.com? Click Here to Search

www.bit.ly/vucodes

+ Link For Assignments, GDBs & Online Quizzes Solution

www.bit.ly/papersvu

+ Link For Past Papers, Solved MCQs, Short Notes & More


Dear Students! Share your Assignments / GDBs / Quizzes files as you receive in your LMS, So it can be discussed/solved timely. Add Discussion

How to Add New Discussion in Study Group ? Step By Step Guide Click Here.

Assignment No. 1
Graded
Semester Spring 2016
Computer Architecture and Assembly Language Programming– CS401
Total Marks: 20

Due Date: 16 May,2016
Objective:
The assignment has been designed to enhance your knowledge about how to write assembly program using branching.

Instructions:
Please read the following instructions carefully before solving & submitting assignment:

1. The assignment will not be accepted after due date.
2. Zero marks will be awarded to the assignment that does not open or the file is corrupt.
3. The assignment file must be an MS word (.doc) file format; Assignment will not be accepted in any other format.
4. Zero marks will be awarded to the assignment if copied (from other student or copied from handouts or internet).

For any query about the assignment, contact only at CS401@vu.edu.pk
Do not post queries related to assignment on MDB.

GOOD LUCK

Question: 1 [20 Marks]

Write an assembly language program to find the smallest number from an array of following ten numbers. Explain each instruction of program and also provide/paste snapshot of your assemble and debug program result which will be run in AFD (A Full Screen Debugger) window showing the executed code final results in AX register.

Numbers : 20, 50, 30, 14, 19, 3, 5, 6, 40, 8 [Program:5, Explantion:3,Snashot:2]

Question: 2
Write an assembly language program to find the largest number from an array of following ten numbers. Explain each instruction of program and also provide/paste snapshot of your assemble and debug program result which will be run in AFD (A Full Screen Debugger) window showing the executed code final results in AX register.

Numbers : 10, 40, 20, 14, 19, 13, 50, 6, 60, 14 [Program:5, Explantion:3,Snashot:2]

Note: Provide snapshot of your program which will be run in AFD window. You will not get any marks for copied assignment.

+ How to Follow the New Added Discussions at Your Mail Address?

+ How to Join Subject Study Groups & Get Helping Material?

+ How to become Top Reputation, Angels, Intellectual, Featured Members & Moderators?

+ VU Students Reserves The Right to Delete Your Profile, If?


See Your Saved Posts Timeline

Views: 17745

.

+ http://bit.ly/vucodes (Link for Assignments, GDBs & Online Quizzes Solution)

+ http://bit.ly/papersvu (Link for Past Papers, Solved MCQs, Short Notes & More)

+ Click Here to Search (Looking For something at vustudents.ning.com?)

+ Click Here To Join (Our facebook study Group)

Attachments:

Replies to This Discussion

Thanks............bro

Thanks Rana G

Thanks Rana G

Its showing error :24: symbol; 'L2' redefined

in which question ?

Rana g , App  kis assignment Error  Show kar rahi hai 

[ORG 100h]
JMP START

Num: DW 20, 50, 30, 14, 19, 3, 5, 6, 40, 8

L2: MOV AX, SI ; Save Small number in AX
ADD BX, 2 ; bx +=2; Point to next character
RET
START:
MOV BX, 0
MOV AX, 0
MOV AX, [Num + BX]

MOV CX, 10

L1: CMP AX , [Num + BX]
JLE L2
MOV AX, [Num +BX} ; AX Contains Minimum number
L2: ADD BX, 2
Loop L1 ; Poinyt next Numbetr

MOV AX, 0x4X00
INT 0x21

Some thing is wrong 

YES FIRST WALY CODE MAE ERROR DY RAHA HAI

EX04.ASM:21:ERROR: SYMBOL "L2" REDIFINED

SECOND CODE MAE B ERROR DY RAHA HAI

my doxbox not working fine i need help

sorry typing mistake ho gai Line no. 21 aor Line no 25 pe L1 ki Jaga L3 likh lo tu shi ho jaye ga errror

Aslam o ALikum  Rana G 

I have done my Assignment , Eik Sawal tha k us ka sourse code just Word my type karana hai ya us ki bhi snapshoot leni hai , 

Please reply fast 

kindly help us and give us the text file????plzzz

RSS

Today Top Members 

© 2020   Created by + M.Tariq Malik.   Powered by

Promote Us  |  Report an Issue  |  Privacy Policy  |  Terms of Service

.