求这个报警程序的流程图及注释
RT,需要详细的流程图,用的是8751和ADC0809,高手来看下,急哦,谢谢了,SOUND:MOV R7,#8;
SINGLE:CPL P1.7; 1.25K
ACALL DELAY2
ACALL DELAY2
CPL P1.7
ACALL DELAY2
ACALL DELAY2
CPL P1.7
DJNZ R7,SINGLE
CLR P1.7
RET
DELAY2:MOV R6;#25; 200US,R6,R5
DELAY3:MOV R5,#2
DJNZ R5,¥
DJNZ R6,DELAY3
RET
SOUND1:MOV R7,#75;
SOUNLOOP:CPL P1.7 ;2.5K
ACALL DELAY2
CPL P1.7
ACALL DELAY2
DJNZ R7,SOUNLOOP
CLR P1.7
RET
SOUND2:MOV R7,#80
SOUN2:CPL P1.7
MOV R6,#31
DJNZ R6,¥
CPL P1.7
MOV R6,#31
DJNZ R7,SOUN2
CLR P1.7
RET
KEYDELAY:MOV R4,#25;25*500=12500=25MS
DEKY:ACALL DELAY
DJNZ R4,DEKY
RET
DELAY5MS:MOV R3,#35 ;25*35=875MS=0.875S
MS: ACALL KEYDELAY
DJNZ R3,MS
RET
DELAY:MOV R6,#25; 500US,R6,R5
DELAY1:MOV R5,#5
DJNZ R5,¥
DJNZ R6,DELAY1、
RET