![]() |
Re: Counters using the delay routine.
wow! this seems to be too hard to understand , especially the delay part,is there another code of a counter where a delay is not implemented,if so pliz may you show us
|
Re: Counters using the delay routine.
Just remove the CALL statement and that should be fine.
|
Re: Counters using the delay routine.
so where really is the counting part,is it the same aspect as in c or c++ or its a different aspect all together i seem not to get it.
|
Re: Counters using the delay routine.
Removing the CALL leaves you with the counter. specially the
Code:
DCR B |
Re: Counters using the delay routine.
so wat will happen wen we JNZ to SHLD ie what are we really doing on this location
|
Re: Counters using the delay routine.
Looping till non zero by decrementing it.
|
Re: Counters using the delay routine.
okay i get thanx
|
Re: Counters using the delay routine.
how to make delay counter with i/o.. like the problem.. the led will blink base on 4bit of switch.. i mean.. if 1111, the led will blink 15 times
|
| All times are GMT +5.5. The time now is 13:31. |