??? 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 |
Topic | Author | Date |
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 |