sp10-lw-sf

# sp10-lw-sf - ECE 2030 1:00pm Computer Engineering Spring...

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

ECE 2030 1:00pm Computer Engineering Spring 2010 5 problems, 5 pages Final Exam Solutions 5 May 2010 Problem 1 (3 parts, 30 points) Instruction Formats, Etc. Part A (9 points) Consider the instruction set architecture below with fields containing zeros. 000 0000 00 0000 00 0000 0 0000 0000 0000 opcode dest. reg. source 1 reg. immediate value What is the maximum number of opcodes? 2 7 = 128 What is the number of registers? 2 6 = 64 What is the range of the signed immediate value? 2 13 = ± 4K Part B (9 points) Suppose the circuit below has the following input priority: I 1 > I 3 > I 0 > I 2 . Complete the truth table by filling in the input values that would produce the given outputs and derive a simplified expression for O 1 . I 3 I 2 I 1 I 0 O 1 O 0 I 3 I 2 I 1 I 0 V O 1 O 0 0 0 0 0 0 X X 0 X 0 1 1 0 0 X X 1 X 1 0 1 0 1 0 0 1 1 0 1 X 0 X 1 1 1 O 1 = I 1 (I 3 + I 0 ) Part C (12 points) For each problem below, compute the operations using the rules of arithmetic, and indicate whether an overflow occurs assuming all numbers are expressed using a six bit unsigned and six bit two’s complement representations. 101101 + 10101 11010 + 10111 10001 - 111010 110101 - 11110 result 000010 110001 010111 010111 unsigned error? yes no yes no signed error? no yes no yes 1

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

View Full Document
ECE 2030 1:00pm Computer Engineering Spring 2010 5 problems, 5 pages Final Exam Solutions 5 May 2010 Problem 2 (4 parts, 32 points) Dueling Designs For each part implement the specified device. Label all inputs and outputs. Part A
This is the end of the preview. Sign up to access the rest of the document.

## This note was uploaded on 10/26/2011 for the course ECE 2030 taught by Professor Wolf during the Spring '07 term at Georgia Tech.

### Page1 / 5

sp10-lw-sf - ECE 2030 1:00pm Computer Engineering Spring...

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

View Full Document
Ask a homework question - tutors are online