Question: what is xtal in microcontroller?
Answer: There is usually 2 pins named XTAL 1 and XTAL2 . These two pins are present in every micro controller and not just 8051. These two pins are used for connecting crystal to microcontroller. The crystal give clock pulses to the micro controller.