;
ORG 0000H
SJMP START
ORG 0001BH
MOV TH1, #(65536 - 50000) / 256
MOV TL1, #LOW(65536 - 50000)
CPL P1.0
RETI
START:
MOV TMOD, #10H
MOV TH1, #(65536 - 50000) / 256
MOV TL1, #LOW(65536 - 50000)
SETB TR1
MOV IE, #88H
SJMP $
END