Sunteți pe pagina 1din 1

Computer Organization and Assembly Language

Assignment # 1 Dated: Thursday, March 17, 2011

Note: Email soft copy to saman_iftikhar2002@yahoo.com 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

S-ar putea să vă placă și