Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 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