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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
05/10/05 12:21
Read: times


 
#93268 - Thanks
Responding to: ???'s previous message
Finally my problem is solved completely today
This is the solution

counter1 equ 7eh

mov counter1,#1
mov r0,counter1

Main_Task:
doing_task1:
call do_task1
djnz r0,doing_task1

mov r0,counter1
doing_task2:
call do_task2
djnz r0,doing_task2

mov r0,counter1
doing_task3:
call do_task3
djnz r0,doing_task3

mov r0,counter1
doing_task4:
call do_task4
djnz r0,doing_task4

mov r0,counter1
no_operation:
call delay
djnz r0,no_operation

inc counter1
mov r0,counter1
cjne r0,#153,Main_Task
ret

total program used byte=365 bytes

Thanks from all who attend to this thread
Mehdi






List of 15 messages in thread
TopicAuthorDate
Need to an Enhanced Algorithm!            01/01/70 00:00      
   clarifications needed...            01/01/70 00:00      
      Thanks Jose!            01/01/70 00:00      
   microcontroller resources usage            01/01/70 00:00      
      Re:microcontroller resources usage            01/01/70 00:00      
         ISP            01/01/70 00:00      
            Re:ISP            01/01/70 00:00      
               Cheap Vs Costly            01/01/70 00:00      
                  a lesson learned            01/01/70 00:00      
   Not only for reading            01/01/70 00:00      
      Excuse me!            01/01/70 00:00      
         Not me            01/01/70 00:00      
   Thanks            01/01/70 00:00      
      How Long ?            01/01/70 00:00      
         it is not complete,            01/01/70 00:00      

Back to Subject List