       ORG   0000H
       AJMP  MAIN
       ORG   000BH
       AJMP  T0SERVE
       ORG   001BH
       AJMP  T1SEVER
       ORG   0050H
       
 MAIN: CLR P1
       MOV SP,#60H
       SETB PT1
       MOV TMOD,#01H
       MOV TL0,#0B0H
       MOV TH0,#3CH
       MOV TL1,#48H
       MOV TH1,#0F4H

       SETB EA
       SETB ET0
       
       SETB ET1
       SETB TR0
HERE:  AJMP HERE
        
        
T0SERVE: 
         MOV TL0,#0B0H
         MOV TL1,#3CH
        
        
         SETB TR1
          
LOOP: RETI

T1SEVER:  MOV TH0,#3CH
          MOV TL1,#48H
          SETB P1.1
LOOP1: RETI
   
   
        RET
        END
          




