Inside the working of a microcontroller