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

Assignment#1

This document contains instructions for Assignment #1 for the course "Computer Organization and Assembly Language". It lists 6 questions about assemblers, linkers, assembly language, binary and hexadecimal representations of numbers, and Boolean logic. Students are asked to email their responses to the questions to a provided email address by the following Thursday for a total of 40 marks.

Uploaded by

irfan_chand_mian
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
78 views

Assignment#1

This document contains instructions for Assignment #1 for the course "Computer Organization and Assembly Language". It lists 6 questions about assemblers, linkers, assembly language, binary and hexadecimal representations of numbers, and Boolean logic. Students are asked to email their responses to the questions to a provided email address by the following Thursday for a total of 40 marks.

Uploaded by

irfan_chand_mian
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 1

Computer Organization and Assembly Language

Assignment # 1 Dated: Thursday, March 17, 2011

Note: Email soft copy to [email protected] with subject BSCS4COAL Assignment#1

Total Marks = 40

Assignment due on next Thursday before class

Q.1. How do assembler and linker work together? 5 Marks

Q.2. Translate the following C++ expression to assembly language. 5 Marks

X = ( Y * 4 ) +3

Q.3. How does the Intel IA-32 processor architecture demonstrate an example of a virtual machine? 5 Marks

Q.4. What is the binary representation of the following hexadecimal numbers? 6 Marks

a. B697C7A1

b. 6ACDFA95

Q.5. What is the 16-bit hexadecimal representation of each signed decimal integer? 6 Marks

a. -452

b. -62

Q.6. What is the 8-bit binary (2’s complement) representation of each of the following signed decimal integers. 6
Marks

a. -36

b. -98

Q.5. What is the largest unsigned integer that may be stored in 20 bits? 5 Marks

Q.6. If a Boolean function has 4 inputs, how many rows would be required for its truth table? 2 Marks

You might also like