A/D转换及显示问题,求帮助,谢谢大家
ORG 000HLJMP MAIN
ORG 0003H
LJMP INT0
MAIN: SETB EA
SETB EX0
SETB IT0
MOV 43H,#00H
MOV 42H,#00H
MOV 41H,#00H
MOV 40H,#00H
BB: MOV DPTR,#0FEF8H
MOV R7,#150
MOV R6,#0
MOVX @DPTR,A
RR1: LCALL LED
DJNZ R7,RR1
INC R6
CJNE R6,#8,NEXT
LJMP BB
NEXT: INC DPTR
MOV R7,#150
MOVX @DPTR,A
LJMP RR1
INT0: MOVX A,@DPTR
MOV B,#100
DIV AB
MOV 42H,A
MOV A,B
MOV B,#10
DIV AB
MOV 41H,A
MOV 40H,B
MOV 43H,R6
SETB 00H
RETI
LED: MOV P1,#10H
MOV A,43H
ORL P1,A
LCALL TT
MOV P1,#20H
MOV A,42H
ORL P1,A
LCALL TT
MOV P1,#40H
MOV A,41H
ORL P1,A
LCALL TT
MOV P1,#80H
MOV A,40H
ORL P1,A
LCALL TT
MOV A,#0FH
ANL P1,A
RET
TT: MOV R3,#10H
TT1: MOV R4,#15H
DJNZ R4,$
DJNZ R3,TT1
RET
END
在KEIL环境下运行出现这种错误不知道怎么改,请求帮助,谢谢大家
AD.asm(4): error A46: CODE-ADDRESS EXPECTED
AD.asm(25): error A8: ATTEMPT TO DEFINE AN ALREADY DEFINED LABEL