回复:(y_l_y_)回复:(爱以走远)你定义db 就行拉嘛...
那段改成这样了还报错啊
SHOWYEAR PROC NEAR
MOV AX,CX
MOV CX,4
MOV SI,0
NEXT1: DIV DW10
MOV WORD PTR TEMP,DX
ADD TEMP,30H
MOV BL,BYTE PTR TEMP
LEA TEMPSTRING[SI],BL
INC SI
LOOP NEXT1
MOV CX,4
NEXT2: LEA DX,TEMPSTRING ;出错
MOV AH,09H
INT 21H
RET
SHOWYEAR ENDP