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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
09/24/04 00:00
Read: times


 
#78043 - RE: now my ACALL is working.why?
Responding to: ???'s previous message
$mod51


led equ p2.0


org 000h
ljmp 0050h


org 0050h

loop:

setb led ;the two acall in the loop
acall delay1 ; why do not work with RET in the
clr led ;end of delay1 and delay2?
acall delay2
sjmp loop






delay1:
mov 30h,#255
mov 31h,#255
time1:
djnz 30h,time1
djnz 31h,time1
sjmp commom_return ; RET here do not work! why not?? see the loop above.



delay2:
mov 30h,#255
mov 31h,#255
time2:
djnz 30h,time2
djnz 31h,time2
sjmp commom_return ; RET here do not work! why not ?? see the loop above


commom_return:
ret ; commom RET for delay1 and delay2.
; now de code is working ok.












end

List of 30 messages in thread
TopicAuthorDate
why my ACALL do not work??            01/01/70 00:00      
   RE: why my ACALL do not work??            01/01/70 00:00      
      RE: why my ACALL do not work??            01/01/70 00:00      
      RE: why my ACALL do not work??            01/01/70 00:00      
         RE: why my ACALL do not work??            01/01/70 00:00      
   Maybe this will work....            01/01/70 00:00      
      RE: now my ACALL is working.why?            01/01/70 00:00      
         It works fine            01/01/70 00:00      
            RE: It works fine            01/01/70 00:00      
         RE: now my ACALL is working.why?            01/01/70 00:00      
            RE: now my ACALL is working.why?            01/01/70 00:00      
               RE: now my ACALL is working.why?            01/01/70 00:00      
               RE: now my ACALL is working.why?            01/01/70 00:00      
                  RE: now my ACALL is working.why?            01/01/70 00:00      
                     RE: now my ACALL is working.why?            01/01/70 00:00      
                  RE: now my ACALL is working.why?            01/01/70 00:00      
                     RE: now my ACALL is working.why?            01/01/70 00:00      
                        RE: now my ACALL is working.why?            01/01/70 00:00      
                           RE: now my ACALL is working.why?            01/01/70 00:00      
                     RE: now my ACALL is working.why?            01/01/70 00:00      
               RE: now my ACALL is working.why?            01/01/70 00:00      
            RE: now my ACALL is working.why?            01/01/70 00:00      
   RE: why my ACALL do not work??            01/01/70 00:00      
      RE: why my ACALL do not work??            01/01/70 00:00      
   RE: why my ACALL do not work??            01/01/70 00:00      
   RE: why my ACALL do not work??            01/01/70 00:00      
   Paging Mr Afranio...            01/01/70 00:00      
      RE: Paging Mr Afranio...            01/01/70 00:00      
         Does your code work with LCALLs?            01/01/70 00:00      
            RE: Does your code work with LCALLs?            01/01/70 00:00      

Back to Subject List