Hi all
I have this question where i am supposed to use a 74'85 comparator (with some other gates) to output a 1 whenever a 2's complement number is between -5 to 3.
My first thought since the table
0011 3 0010 2 0001 1 0000 0 1111 −1 1110 −2 1101 −3 1100 −4 1011 −5
is to check whether the 2 last bits are 00 or 11, since the first 2 bits are always (00,01,10,11), but i am not sure how to implement it on a comparator.
Any kind soul could point me in the right direction?
thanks.
I have this question where i am supposed to use a 74'85 comparator (with some other gates) to output a 1 whenever a 2's complement number is between -5 to 3.
My first thought since the table
0011 3 0010 2 0001 1 0000 0 1111 −1 1110 −2 1101 −3 1100 −4 1011 −5
is to check whether the 2 last bits are 00 or 11, since the first 2 bits are always (00,01,10,11), but i am not sure how to implement it on a comparator.
Any kind soul could point me in the right direction?
thanks.