| ??? 06/01/03 22:37 Read: times |
#47191 - RE: removing from check list Responding to: ???'s previous message |
Hi Waqar.....by any other names??
Make another byte in a memory variable (it would be convenient to put it at one of the bit addressable bytes between 020H and 02FH. Have bits in this byte be set when one of your tasks is active and bits be cleared when a task is to be skipped. So when you have code.....as now.... JB P2.0, TASK1 JB P2.1, TASK2 JB P2.2, TASK3 ....replace it with something like LIST_EN equ 020H ;put new variable at bit addressable RAM JNB LIST_EN.0, SKIP_TASK1 JB P2.0, TASK1 ; SKIP_TASK1: JNB LIST_EN.1, SKIP_TASK2 JB P2.1, TASK2 ; SKIP_TASK2: JNB LIST_EN.2, SKIP_TASK3 JB P2.2, TASK3 ; SKIP_TASK3: ... ... ... Michael Karas |



