0% found this document useful (0 votes)
37 views1 page

Microprocessor and Assembly Language

The document is an assignment for a Microprocessor and Assembly Language course. It contains 6 questions assessing students' ability to perform binary and hexadecimal arithmetic operations like addition, subtraction, and conversion between number bases. Students are instructed to show their work and be precise. The assignment is worth a total of 25 marks and is due on October 6th, 2020.
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)
37 views1 page

Microprocessor and Assembly Language

The document is an assignment for a Microprocessor and Assembly Language course. It contains 6 questions assessing students' ability to perform binary and hexadecimal arithmetic operations like addition, subtraction, and conversion between number bases. Students are instructed to show their work and be precise. The assignment is worth a total of 25 marks and is due on October 6th, 2020.
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, Lahore Campus

Assignment 1– FALL 2020


Course Title: Microprocessor and Assembly Language Course Code: CSC321 Credit Hours: 3(2,1)
Course Instructor/s: Sheeza Zaheer Programme Name: BCS
Semester: 4 Batch: SP19 Section: A, B, C Date: 9/29/20
Deadline: 10/6/2020 Maximum Marks: 25
Student’s Name: Reg. No.
Important Instructions / Guidelines:
 Be precise and to the point while answering any question.
 Show all immediate steps. Every step carry individual mark.
 Cheating will result in negative marking and even worse. Stay honest.

Question no 1: Perform the following additions: [Marks: 1.5 + 1.5 = 3]


a) 100111101b + 10001111001b
b) FEFFEh + FBCADh

Question no 2: Perform the following subtractions: [Marks: 1.5 + 1.5 = 3]


a) 10000101b – 111011b
b) F001Eh – 1FF3Fh

Question no 3: Do the following binary and hex subtractions by two’s complement addition.
[Marks: 5]
a) 2988h – C4A2h

Question no 4: Give the unsigned and signed decimal interpretations of each of the following numbers.
[Marks: 3 + 3 = 6]

a) FA12h
b) 2AB4h

Question no 5: Show how the decimal integer -149 would be represented


[Marks: 3 + 3 = 6]

a) In 16 bits.
b) In 8 bits.

Question no 6: Translate the following secret message, which has been encoded in ASCII as:
41 4C 4C 41 48 20 49 53 20 47 52 45 41 54 [Marks: 2]

You might also like