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............
Read-Only
Author Per Westermark
Posted 5-Dec-2011 13:07 GMT
Toolset C51
RE: COUNTING THE EVENTS
Per Westermark
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?
Read-Only
Author erik malund
Posted 5-Dec-2011 16:16 GMT
Toolset C51
does this mean
erik malund
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
does this mean that if the value to increase was 8 bits, you had
your code working? if so, show your code, if not, clarify
Erik
Read-Only
Author Andrew Neil
Posted 5-Dec-2011 22:14 GMT
Toolset None
RE: in 8051 using assembly language
Andrew Neil
Before going into the specific details of 8051 assembler,
you need to understand the basic principles of doing this is
any assembler.
And the basic principles of doing this is any
assembler are no different to the basic principles of doing this by
hand with pencil and paper.
So perhaps you need to review the basics of adding-up multi-digit
numbers...
This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.
ARM websites use two types of cookie: (1) those that enable the site to function and perform as required; and (2) analytical cookies which anonymously track visitors only while using the site. If you are not happy with this use of these cookies please review our Privacy Policy to learn how they can be disabled. By disabling cookies some features of the site will not work.