|
高手们:请你们看下这个程序。在keil中老是有个问题提示符是:ILLEGEAL CHARACTER IN NUMERIC CONSTANT (常数的违法个性)原程序如下:能帮改下
ORG1000H
STAR:MOVTMOD,#60H
MOVTH1,#00H
MOVTL1,00H
MAIN:MOVP1,#0C0H
DISP:JBP3.3,DISP
ACALLDELAY
JBP3.3, DISP
DISP1:JNBP3.3,DISP1
ACALLDELAY
JNBP3.3 ,DISP1
SETBTR1
DISP2:MOV A,TL1
MOVCA,@A+DPTR
MOVP1,A
CJNEA,#8E,DISP2 (这句有点问题请看)
LJMPSTAR
TAB: DB OCOH,0F9A,0A4H,0B0H,99H,92H,82H,0F8H,80H,90H,88H,83H
DELAY:MOVR2,#14H
DELAY1:MOVR3,#0FAH
DJNZR3,$
DJNZR2,DELAY1
RET
END
|
|