Professional Documents
Culture Documents
Assignment 2
Assignment 2
Assignment-II
Program: BSCS
Instructions
1. Understanding of the problems is part of the assignments. So, no query please.
2. You will get Zero marks if found any type of cheating.
3. 25 % deduction of over marks on the one-day late submission after due date
4. 50 % deduction of over marks on the two-day late submission after due date
5. No submission after two days.
Question 1: [Marks: 6]
Question 2: [Marks: 2]
What is the binary representation of D5B7h? Also calculate the unsigned and signed decimal
interpretation of this number.
Question 03: Using only basic arithmetic instructions, translate the given statement into assembly
language.
Assume A, B and C are word variables: [Marks: 2]
A = B + 2 – (C*2)