0% found this document useful (0 votes)
36 views

Microprocessor and Assembly Language

A microprocessor and assembly language exam for BSSE and BSCS students at COMSATS University Islamabad's Vehari campus contains two questions worth a total of 10 marks. Question 1 involves implementing two mathematical equations in assembly language code. Question 2 involves writing assembly code to add three numbers using a single label and calculate seven numbers using loops. Students have 60 minutes to complete the exam, which is worth a total of 10+5 marks including a potential viva.

Uploaded by

Bxj Ali Khan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
36 views

Microprocessor and Assembly Language

A microprocessor and assembly language exam for BSSE and BSCS students at COMSATS University Islamabad's Vehari campus contains two questions worth a total of 10 marks. Question 1 involves implementing two mathematical equations in assembly language code. Question 2 involves writing assembly code to add three numbers using a single label and calculate seven numbers using loops. Students have 60 minutes to complete the exam, which is worth a total of 10+5 marks including a potential viva.

Uploaded by

Bxj Ali Khan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

COMSATS University Islamabad, Vehari

Department of Computer Science


Sessional ll Examination – Spring 2021
Subject: Microprocessor and Assembly Language Instructor: Dr. M. Y. Faheem
Class: BSSE, BSCS Total Time: 60 Minutes
Maximum Marks: 10+5(viva) Name: _________________
Registration Number:___________________ Date : _________________

NOTE: Attempt all questions.


Understanding the question paper is a part of your exam.

1. Implement the following equations in assembly language


a. {(a+c)*(3+b)} / {(d-4)*(2-c)}
b. {(A+B)^2} – {(A^2) + (B^2) (2*A*B)} Marks = 3+3

2. Write valid code to perform each function written below


a. To add three numbers accessed using a single label?
b. Calculates the seven numbers using loops? Marks = 2+2

You might also like