SPK EQU P3.7 ; 蜂鸣器所在端口 ORG 0000H JMP STARTSTART: MOV R3,#00HNEXT: MOV A,R3 MOV DPTR,#TABLE MOVC A,@A+DPTR JZ START MOV R7,A INC R3 MOV A,R3 MOVC A,@A+DPTR MOV R2,A ACALL SONG INC R3 SJMP NEXT