This document discusses programming timers on the 8051 microcontroller. It describes the basic timer registers for Timer 0 and Timer 1, and the TMOD register used to set the timer modes. It explains how to program the timers in modes 1 and 2, including the steps to load values into the timer registers, start the timer, and monitor the timer flag. Examples are provided to generate delays and square waves using timer programming. Counter programming using the timers is also covered briefly.