

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
THis paper is belong to computer science department of KFUEIT. The subject name is assembly language programming by Mr. Mutiullah Jamil lecturer at KFUEIT
Typology: Exams
1 / 2
This page cannot be seen from the preview
Don't miss anything!


COSC-3114-Computer Organization & Assembly Language
Mr. Mutiullah
Paper : Computer Architecture & Assembly Language Instructions Please read the following instructions carefully before attempting any question:
Question No. 2 Write down the Description of any five flags. 52=10 marks Question No. 3 Write down a program which can find the average of 5 numbers by using loop 10 marks Long Question Question No. 4 Give the value of the zero flag, the carry flag, the sign flag, and the overflow flag after each of the following instructions if AX is initialized with 0x1254 and BX is initialized with 0x0FFF. 103= 30 marks a. add ax, 0xEDAB b. add ax, bx c. add bx, 0xF Question No.5 Write down the different types of jumps with short description. Write a simple program which has unconditional jump and write down another program for finding the min value from five different unsorted values. 10+10+10=30 marks