Our group have a project in Computer Architecture that we have to add an instruction in SAP-1, we decided to do the comparator that compares two 8-bit binary numbers. The output must be displayed using seven segments.
eg.
condition output (8 LED)
if a less than b 11110000
if a is equal to b 11111111
if a is greater than b 00001111
Our problem is we don't know how to convert it into (3) 7-segment display. Can someone please teach us how to convert 8-bit binary into 7 segments display? Your help would be greatly appreciated.
eg.
condition output (8 LED)
if a less than b 11110000
if a is equal to b 11111111
if a is greater than b 00001111
Our problem is we don't know how to convert it into (3) 7-segment display. Can someone please teach us how to convert 8-bit binary into 7 segments display? Your help would be greatly appreciated.