Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
07/08/04 11:42
Read: times


 
#73796 - RE: My Code.
Responding to: ???'s previous message
OK, the bugs have been found. By the way, error like MOV A,1 is so easy to make and can be very difficult to discover. Of course the difference between A,1 and A,#1 is enormous.

I have another remark, regarding the program style:
time:	mov	r0,#03h 
in1:	mov	r1,#00h 
in2:	mov	r2,#00h 
wait:	djnz	r2,wait 
	djnz	r1,in2 
	djnz	r0,in1
.

Labels in1 and in2 are unnecessary ! Instead to them, just direct to wait ! The reason is not hard to see.

Regards, Slobodan


List of 8 messages in thread
TopicAuthorDate
My Code.            01/01/70 00:00      
   RE: My Code.            01/01/70 00:00      
   RE: My Code.            01/01/70 00:00      
   RE: My Code.            01/01/70 00:00      
      Thanks Ravi Raghu            01/01/70 00:00      
   RE: My Code.            01/01/70 00:00      
   RE: My Code.            01/01/70 00:00      
   RE: My Code.            01/01/70 00:00      

Back to Subject List