A design about 8051 (running at 12MHz) based system with 3 7-Seg displays and two buttons to implement the following functions.
1. When press the + button, the display C = A+B.
2. When press the button, the display C = A - B.
“A” and “B” are 8-bit inputs when “C” is 9-bit output.