hi, can any one give the idea to implement 12- bit counter in 8051 using assembly language programming.....i written a piece of code in which how to run a loop to increase the the count value that i am not able to write............
So there is a bit more work ahead of you then, until you can make your teacher happy.
It's all a question of ideas. What problems do you see with having a 12-bit counter? What problems do you see writing a loop? What problems do you see detecting an event? What problems do you see combining these concepts into a single program?
By the way - how can you have written a code that you are not able to write?