Up/Down Counter
Components used in this experiment: 8051 Microcontroller, DISP0, SW0(INT0).
Flow of circuit: SW0(Up/Down) ⟶ P3.2(8051) ⟶ P1(8051) ⟶ DISP0.
your_code.asm