我这个程序怎么老提示未定义符号?是怎么回事? 要怎么修理?程序如下;
ORG0030HSTART:MOVDPTR,#TABLELP1:MOVA,#00HMOVCA,@A+DPTRCJNEA,#1BH,LP2JMPSTARTLP2:MOVP0...
ORG 0030H
START: MOV DPTR,#TABLE
LP1: MOV A,#00H
MOVC A,@A+DPTR
CJNE A,#1BH,LP2
JMP START
LP2: MOV P0,A
LCALL DELAY
INC DPTR
JMP LP1
DELAY: MOV R7,#5
DE1: MOV R6,#200
DE2: MOV R5,#248
DJNZ R5,$
DJNZ R6,DE2
DJNZ R7,DE1
TABLE: DB 0FEH,0FDH,0FBH,0F7H
DB 0EFH,0DFH,0BFH,07FH
DB 0BFH,0DFH,0BFH,0F7H
DB 0FBH,0FDH,0FEH,0FFH
DB 0AAH,55H,0AAH,55H
DB 0AAH,55H,0FFH
DB 0F0H,0FH,0F0H,0FH
DB 0FFH,33H,0CCH,33H
DB 0CCH,33H,0CCH,0FFH
DB 1BH
END 展开
START: MOV DPTR,#TABLE
LP1: MOV A,#00H
MOVC A,@A+DPTR
CJNE A,#1BH,LP2
JMP START
LP2: MOV P0,A
LCALL DELAY
INC DPTR
JMP LP1
DELAY: MOV R7,#5
DE1: MOV R6,#200
DE2: MOV R5,#248
DJNZ R5,$
DJNZ R6,DE2
DJNZ R7,DE1
TABLE: DB 0FEH,0FDH,0FBH,0F7H
DB 0EFH,0DFH,0BFH,07FH
DB 0BFH,0DFH,0BFH,0F7H
DB 0FBH,0FDH,0FEH,0FFH
DB 0AAH,55H,0AAH,55H
DB 0AAH,55H,0FFH
DB 0F0H,0FH,0F0H,0FH
DB 0FFH,33H,0CCH,33H
DB 0CCH,33H,0CCH,0FFH
DB 1BH
END 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询