Hi. I need some help about my homework. it goes this way.
Develop a program that will compare two 4-bit binary numbers (A and B) and will indicate whether A>B, A=B, or A<B. (Note: the program has 3 outputs, one for >, one for <, and one for =)
example
A B A>B A=B A<B
0011 1000 0 0 1
1100 0111 1 0 0
0101 0101 0 1 0
thanks much..
Develop a program that will compare two 4-bit binary numbers (A and B) and will indicate whether A>B, A=B, or A<B. (Note: the program has 3 outputs, one for >, one for <, and one for =)
example
A B A>B A=B A<B
0011 1000 0 0 1
1100 0111 1 0 0
0101 0101 0 1 0
thanks much..