Instruction Word Size - Mallard ECE 290: Computer...

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

View Full Document Right Arrow Icon
Mallard ECE 290: Computer Engineering I - Spring 2007 - Graded Web. .. https://mallard.cites.uiuc.edu/ECE290/webgrade.cgi?SessionID=mding3. .. 1 of 2 4/13/2007 2:49 AM Graded WebQuiz: Instruction Word Size You have submitted this WebQuiz 1 time (including this time). You may submit this WebQuiz a total of 10 times and receive full credit. Question #1 Suppose a computer has a 40-bit instruction word with the following fields: 6-bit opcode, two 6-bit register address fields, and one 22-bit immediate operand field. (a) What is the maximum number of operations that can be supported? 2^6 = 64 (b) How many registers can be addressed (the size of the register file)? 2^6 = 64 (c) Suppose the immediate operand is an unsigned binary integer. What is (the decimal value of) the smallest number representable? 0 the largest? 2^22-1 = 4194303 (d) Suppose the immediate operand is a signed 2's complement integer, with the leftmost bit the sign bit. What is (the decimal value of) the smallest number representable?
Background image of page 1

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

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 2

Instruction Word Size - Mallard ECE 290: Computer...

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

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