??? 06/25/08 06:55 Read: times |
#156186 - what I did was Responding to: ???'s previous message |
I removed the INT0 code and made each DJNZ a test to see if the INT0 line, now called p3.2, was low. If it is low I jump out of the DJNZ routine and do my thing with the number.
This way when the DJNZ'd number is zero and being reset to it's "seed" the routine is not checking for the p3.2 line to go low. ie: START: MOV 40H, #56H LOWCH: JNB P3.2,BAIL DJNZ 40H,LOWCH JMP START BAIL: do my thing Does anyone see any zero's cropping up in this solution? |
Topic | Author | Date |
assembly code question and INT0 | 01/01/70 00:00 | |
The answer is... | 01/01/70 00:00 | |
Thanks | 01/01/70 00:00 | |
For completion... | 01/01/70 00:00 | |
Amityville horror? | 01/01/70 00:00 | |
what I did was![]() | 01/01/70 00:00 |