thw_mod5_no3 - Fall 2011 2. [14 points] Complete the...

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

View Full Document Right Arrow Icon
ECE 270 Introduction to Digital System Design Fall 2011 TakeHomaWork for Module 5 – Due November 7, 2011 1. [36 points] Determine how the condition codes (C, Z, N, V) are set for 2-bit Radix subtraction. Show all work. 1 0 - 0 1 _____ C = __ Z = __ N = __ V = __ 1 0 - 1 0 ______ C = __ Z = __ N = __ V = __ 1 0 - 1 1 _____ C = __ Z = __ N = __ V = __ 0 1 - 0 1 _____ C = __ Z = __ N = __ V = __ 0 1 - 1 0 _____ C = __ Z = __ N = __ V = __ 0 1 - 1 1 _____ C = __ Z = __ N = __ V = __ 0 0 - 0 1 _____ C = __ Z = __ N = __ V = __ 0 0 - 1 0 _____ C = __ Z = __ N = __ V = __ 0 0 - 1 1 _____ C = __ Z = __ N = __ V = _ _ Name: __________________________________________ Class No: __ __ __ __ - __ Signature: ______________________________________ Score: _______ / 50 Your Class No. is the last four digits of your PUID followed by the first character of your last name.
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 270 Introduction to Digital System Design
Background image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Fall 2011 2. [14 points] Complete the missing entries in the condition code generation chart, below, and derive the function for A greater than or equal to B (AGEB) in its simplest (minimal) form. Show all work. A 1 A (A) B 1 B (B) ? C Z N V 0 0 0 0 0 0 (A) = (B) 0 1 0 0 0 0 0 0 1 +1 (A) < (B) 0 0 0 1 0 -2 (A) > (B) 1 0 1 1 0 0 0 1 1 -1 (A) > (B) 1 0 0 0 0 1 +1 0 0 0 (A) > (B) 0 0 0 0 0 1 +1 0 1 +1 (A) = (B) 0 1 0 0 0 1 +1 1 0 -2 (A) > (B) 1 0 1 1 0 1 +1 1 1 -1 (A) > (B) 1 0 1 1 1 0 -2 0 0 0 (A) < (B) 1 0 -2 0 1 +1 (A) < (B) 1 0 -2 1 0 -2 (A) = (B) 0 1 0 0 1 0 -2 1 1 -1 (A) < (B) 1 1 -1 0 0 0 (A) < (B) 1 1 -1 0 1 +1 (A) < (B) 1 1 -1 1 0 -2 (A) > (B) 0 0 0 0 1 1 -1 1 1 -1 (A) = (B) 0 1 0 0 C C 0 4 12 8 V N 1 5 13 9 3 7 15 11 V N 2 6 14 10 V Z Z Z...
View Full Document

This note was uploaded on 02/12/2012 for the course ECE 270 taught by Professor Staff during the Spring '08 term at Purdue University-West Lafayette.

Page1 / 2

thw_mod5_no3 - Fall 2011 2. [14 points] Complete the...

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