su09-jh-s2 - ECE 2030 - Introduction to Computer...

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

View Full Document Right Arrow Icon
ECE 2030 -- Introduction to Computer Engineering EXAM #2 SOLUTION July 15, 2009 Page 1 of 3 Problem 1. (24 points) Value (decimal) 6-bit sign-magnitude binary representation 6-bit 2’s-complement binary representation 29 0 1 1 1 0 1 0 1 1 1 0 1 – 14 1 0 1 1 1 0 1 1 0 0 1 0 23 0 1 0 1 1 1 0 1 0 1 1 1 – 26 1 1 1 0 1 0 1 0 0 1 1 0 – 10 1 0 1 0 1 0 1 1 0 1 1 0 0 0 0 1 0 1 0 1 1 0 1 1 1 0 1 1 1 1 + 1 1 1 1 0 1 + 0 0 1 0 1 0 + 1 1 0 1 0 1 0 0 0 0 1 0 1 0 0 1 0 1 1 0 0 1 0 0 carry-out: 1 carry-out: 0 carry-out: 1 overflow: no overflow: yes overflow: no 1 0 1 1 0 0 0 1 0 0 1 0 – 1 1 0 1 1 1 – 1 1 0 1 0 1 1 1 0 1 0 1 0 1 1 1 0 1 overflow: no overflow: no Problem 2. (12 points) A. (4 points) Complete the state table for this register. B. (8 points) Complete the following timing diagram for this register. Assume that the initial value of the output is zero. load toggle load hold φ 1 φ 2 LD T IN OUT LD T OUT + 0 0 OUT 0 1 OUT 1 x IN
Background image of page 1

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

View Full DocumentRight Arrow Icon
ECE 2030 -- Introduction to Computer Engineering EXAM #2 SOLUTION
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 10/26/2011 for the course ECE 2030 taught by Professor Wolf during the Spring '07 term at Georgia Institute of Technology.

Page1 / 3

su09-jh-s2 - ECE 2030 - Introduction to Computer...

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