Memory Map of 8051 microcontroller
Memory map of the SFRs:
The individual bits of TMOD have the following functions:
As you can see in the above chart, four bits (two for each timer) are used to specify a mode of operation. The modes of operation are:
TCON (88H) SFR
Interrupt Service Routine Addresses:
Your program may enable and disable interrupts by modifying the IE SFR (A8h):