查平方表的问题
DATA SEGMENT
SQ DB 0,1,4,9,16,25,36,49,64
DB 81,100,121,144,169,196,225
A DB 8
MESSG1 DB 'PLEASE ENTER A MUMMBER!',13,10,'$'
MESSG2 DB 10,'ITS SQUARE MUMMBER IS:',13,10,'$'
DATA ENDS
SQ DB 0,1,4,9,16,25,36,49,64
DB 81,100,121,144,169,196,225
A DB 8
MESSG1 DB 'PLEASE ENTER A MUMMBER!',13,10,'$'
MESSG2 DB 10,'ITS SQUARE MUMMBER IS:',13,10,'$'
DATA ENDS
CODE SEGMENT
MAIN PROC FAR
ASSUME CS:CODE,DS:DATA
START: PUSH DS
SUB AX,AX
MOV AX,DATA
MOV DS,AX
MOV ES,AX
MAIN PROC FAR
ASSUME CS:CODE,DS:DATA
START: PUSH DS
SUB AX,AX
MOV AX,DATA
MOV DS,AX
MOV ES,AX
LEA DX,MESSG1
MOV AH,09H
INT 21H
MOV AH,01H
INT 21H
LEA DX,MESSG2
MOV AH,09H
INT 21H
???????
MOV AH,02H
INT 21H
MOV AH,09H
INT 21H
MOV AH,01H
INT 21H
LEA DX,MESSG2
MOV AH,09H
INT 21H
???????
MOV AH,02H
INT 21H
MAIN ENDP
RET
CODE ENDS
END START
????这一段不知道怎么写
大家帮忙看看
RET
CODE ENDS
END START
????这一段不知道怎么写
大家帮忙看看