Correct option is B
The TCON (Timer Control) register in the 8051 microcontroller is used to control the operation of Timer 0 and Timer 1, including starting and stopping the timers. It also contains timer overflow flags and external interrupt control bits.
The TR0 and TR1 bits in the TCON register are specifically used to:
- TR0 = 1 → Starts Timer 0
- TR0 = 0 → Stops Timer 0
- TR1 = 1 → Starts Timer 1
- TR1 = 0 → Stops Timer 1
TCON Register Format
| Bit | Name | Function |
| TCON.7 | TF1 | Timer 1 Overflow Flag |
| TCON.6 | TR1 | Timer 1 Run Control |
| TCON.5 | TF0 | Timer 0 Overflow Flag |
| TCON.4 | TR0 | Timer 0 Run Control |
| TCON.3 | IE1 | External Interrupt 1 Flag |
| TCON.2 | IT1 | Interrupt 1 Type Control |
| TCON.1 | IE0 | External Interrupt 0 Flag |
| TCON.0 | IT0 | Interrupt 0 Type Control |