Wipro interview question

Write a code for time-delay in microcontroller 8051.