oldfinal - CMSC 313 Computer Organization & Assembly...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
CMSC 313 Fall 2001 Computer Organization & Assembly Language Programming Final Exam Name: Section Points I. /26 II. /30 III. /50 TOTAL: /106 Instructions: 1. This is a closed-book, closed-notes exam. 2. You have 120 minutes for the exam. 3. Calculators are not allowed.
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
I. Multiple Choice (2 points each) For each question in this section, circle 1 answer. Choose the best answer. 1. A two’s complement overflow cannot occur when (a) two positive numbers are added. (b) two negative numbers are added. (c) a positive number is added to a negative number. (d) a positive number is subtracted from a negative number. 2. In unsigned binary representation, an overflow is indicated when two numbers are added and (a) there is a carry out of the most-signi±cant bit (MSB). (b) there is a carry into the MSB. (c) the carry into the MSB di²ers from the carry out of the MSB. (d) the carry into the MSB equals the carry out of the MSB. 3. Suppose we use a floating-point representation with a sign bit, a 4-bit exponent in excess 7 notation and a 5-bit normalized fractional mantissa with no hidden bit. Then, the largest number that can be represented is (a) 31 × 2 3 (b) 31 × 2 8 (c) 31 × 2 13 (d) 0 . 31 × 2 8 4. When the Intel Pentium CPU executes a CALL instruction (a) the eip register is saved in the stack. (b) the eip , ebp and esp registers are saved in the stack. (c) the eax , ecx , edx and eip registers are saved in the stack. (d) none of the registers are saved. 5. Consider the following Intel Pentium instruction mov [ebx], dword 5 The keyword “DWORD” is needed to (a) indicate that 5 is animmediate operand.
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 02/14/2011 for the course CMSC 313 taught by Professor Staff during the Fall '10 term at Colorado.

Page1 / 14

oldfinal - CMSC 313 Computer Organization & Assembly...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online