The 8051 microcontroller has two timers, Timer 0 and Timer 1, used for delay generation and event counting. In Mode 2 (8-bit auto-reload mode), the timer automatically reloads a preset value from TH1 ...