This preview has intentionally blurred sections. Sign up to view the full version.
View Full Document
Unformatted text preview: Su, Andy – Homework 9 – Due: Nov 13 2007, 11:00 pm – Inst: Valvano 1 This printout should have 10 questions. Multiplechoice questions may continue on the next column or page – find all choices before answering. The due time is Central time. Homework 9 001 (part 1 of 1) 10 points Consider the situation where a 9 bit parame ter is added to a 11 bit parameter. In partic ular, assume the number n 1 can be any value from 0 to 511, and the number n 2 can be any value from 0 to 2047. If n 3 = n 2 + n 1, how many bits are re quired to store the number n 3? Correct answer: 12 bits. Explanation: The range of n 3 = n 2 + n 1 is 0 to 2558, therefore it takes 12 bits to store the number n 3. 002 (part 1 of 1) 10 points What is the difference between the emul and emuls instructions? 1. emul is integer multiply while emuls is a fixedpoint multiply. 2. They are two names for the same thing. 3. emul operates on signed integers while emuls operates on unsigned integers. 4. emul is integer multiply while emuls is a floatingpoint multiply. 5. emul is an 8bit multiply while emuls is a 16bit multiply. 6. None of these choices is correct. correct Explanation: emul operates on unsigned integers while emuls operates on signed integers. 003 (part 1 of 1) 10 points What is the basic operation of the ediv instruction? 1. 32bit RegsY:D divided by 16bit RegX yielding a 16bit quotient stored in RegD , and a 16bit remainder stored in RegY . 2. 32bit RegsY:D divided by 16bit RegX yielding a 16bit quotient stored in RegY , and a 16bit remainder stored in RegD . cor rect 3. 16bit RegY divided by 16bit RegX yielding a 16bit quotient stored in RegY , and a 16bit remainder stored in RegD . 4. 32bit RegsX:D divided by 16bit RegY yielding a 16bit quotient stored in RegX , and a 16bit remainder stored in RegD ....
View
Full Document
 Fall '06
 MCCANN
 Electrical Engineering, Division, Multiplication, 16bit, REGD, emuls

Click to edit the document details