Looking for Embedded C Programming(BECE320E) test answers and solutions? Browse our comprehensive collection of verified answers for Embedded C Programming(BECE320E) at lms.vit.ac.in.
Get instant access to accurate answers and detailed explanations for your course questions. Our community-driven platform helps students succeed!
Find the purpose of the code given below:
#includevoid main(){
P1 = 16;
}
Number of 16 bit registers in 8051 series of microcontroller
Find the purpose of the code given below:
#includevoid main(){
P1 = 11;
}
Find the purpose of the code given below:
#includevoid main(){
P1 = 22;
}
Find the output of the program below:
#includeint main(){int i; for(i=0;i<3;i++); printf("%d",i);}
What should be done if we want to double the baud rate in 8051?
In 8051 microcontrollers , number of times the following loop will be executed is
MOV R6,#100
BACK:MOV R5,#50
HERE:DJNZ R5, HERE
DJNZ R6,BACK
Find the purpose of the code given below:
#includevoid main(){
P1 = 8;
}
Find the output of the timer program below:
#includevoid main(){
TMOD = 0x01;
TH0 = 0xFC;
TL0 = 0x66;
TR0 = 1;
while(TF0==0);
P1 = 0xFF;
}
Consider the following C function:
int f(int n) { static int i = 1; if (n >= 5) return n; n = n+i; i++; return f} |