How to see if 5 bit number which can be in DC or RC format is greater than 9
H Thread Starter Hazard111 Joined Jan 1, 2015 13 Jan 2, 2015 #1 How to see if 5 bit number which can be in DC or RC format is greater than 9
H Thread Starter Hazard111 Joined Jan 1, 2015 13 Jan 2, 2015 #3 MikeML said: What is DC or RC format? Click to expand... Radix Complement (Two’s complement)/RC Digit Complement (Ones' complement)/DC
MikeML said: What is DC or RC format? Click to expand... Radix Complement (Two’s complement)/RC Digit Complement (Ones' complement)/DC
MikeML Joined Oct 2, 2009 5,444 Jan 2, 2015 #4 Write out a truth table of the five bits for all positive numeric values > zero. Use Combinatorial logic (sum-of-products) to create a single output which is true for 9<=value<=15.
Write out a truth table of the five bits for all positive numeric values > zero. Use Combinatorial logic (sum-of-products) to create a single output which is true for 9<=value<=15.
WBahn Joined Mar 31, 2012 33,141 Jan 2, 2015 #5 Hazard111 said: Radix Complement (Two’s complement)/RC Digit Complement (Ones' complement)/DC Click to expand... I think you probably mean (or the author probably meant) "diminished radix complement" for DC. Break it down into pieces. What does the msb tell you in either case? Assuming that the number in question is positive, how can you use just the lower four bits to determine if the value is greater than 9? What would be the result if you subtract 9 from the number?
Hazard111 said: Radix Complement (Two’s complement)/RC Digit Complement (Ones' complement)/DC Click to expand... I think you probably mean (or the author probably meant) "diminished radix complement" for DC. Break it down into pieces. What does the msb tell you in either case? Assuming that the number in question is positive, how can you use just the lower four bits to determine if the value is greater than 9? What would be the result if you subtract 9 from the number?