A timer is in mode 0, what value can it not hold?
Which of the following is not a conditional jump instruction?
Which of the following is a valid rotate instruction?
Which timer mode is called split timer mode in the 8051 microcontroller ?
Which of the following statements can directly manipulate the Carry (CY) flag?
A certain memory location has the address 1100 1011 inside the 8051 microcontroller. Which area of temporary memory does it belongs to ?
What is Baud Rate ?
How do we check whether a number is positive or negative using 8051 microcontroller?
Which pin is used to select a particular memory chip, if multiple memory chips are attached to the 8051 microcontroller?
In an 8051 microcontroller, the following code was written:
#include<reg51.h>
sbit pin = P1^0;
void main()
{
pin = 0;
TMOD = 0x01;
while(1)
{
TH0 = 0xFE;
TL0 = 0x0C;
pin = ~pin;
TR0 = 1;
while(TF0==0);
TF0 = 0;
TR0 = 0;
}
}
What is the shape and period of the waveform at the pin? Assume the input clock is 12 MHz.