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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
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


List of 26 messages in thread
TopicAuthorDate
removing from check list            01/01/70 00:00      
   RE: removing from check list            01/01/70 00:00      
      RE: removing from check list            01/01/70 00:00      
      RE: removing from check list            01/01/70 00:00      
      RE: removing from check list            01/01/70 00:00      
         RE: removing from check list            01/01/70 00:00      
   RE: removing from check list            01/01/70 00:00      
   RE: removing from check list            01/01/70 00:00      
      RE: removing from check list            01/01/70 00:00      
         RE: removing from check list            01/01/70 00:00      
            mahmood Elnasser            01/01/70 00:00      
         RE: removing from check list            01/01/70 00:00      
   same old war            01/01/70 00:00      
      RE: same old waqar            01/01/70 00:00      
      RE: same old war            01/01/70 00:00      
         Tutorials addition            01/01/70 00:00      
         RE: same old war            01/01/70 00:00      
            RE: same old war            01/01/70 00:00      
         RE: same old war            01/01/70 00:00      
         Stepper Motor Control            01/01/70 00:00      
            RE: Stepper Motor Control            01/01/70 00:00      
               RE: Stepper Motor Control            01/01/70 00:00      
                  RE: Stepper Motor Control            01/01/70 00:00      
   i will make the circuit            01/01/70 00:00      
      Congratulations - Mike            01/01/70 00:00      
         RE: Congratulations - Mike            01/01/70 00:00      

Back to Subject List