only question 12
8. What is the difference between the sbit and bit data types?
9. Write an 8051 C program to toggle all bits of P1 every 200 ms.
10. Use your 8051 C compiler to see the shortest time delay that you can produce.
11. Write a time delay function for 100 ms.
12. Write an 8051 C program to toggle only bit P1.3 every 200 ms.
13. Write an 8051 C program to count up P1 from 0 - 99 continuously.
here are more instruction
Exercise 3
Page 212 For problem 12, create a HW3 project. This time, when creating the project, let the
wizard add the startup file automatically to the project. Name your program hw3.c and add it
to the project. Add the \#pragma code directive as the first line of your c program. This will
include the generated assembler to the lst file. Compile the program on the Keil IDE. Submit
the hw3.lst file and the hw3.c file (only!) here on BB.