要求:在屏幕中央画一个逐渐膨胀的实心圆。
已经改好的,留给未来的童鞋们参考哈
MOV AX,12H
INT 10H
MOV AX,0BH
MOV BX,0
INT 10H
ENDM
;------------------------------------------
COMPUTE MACRO
MOV AX,[SI]
MUL RR
DIV KK
MOV Y_COORD,AX
MOV AX,[DI]
MUL RR
DIV KK
MOV X_COORD,AX
ENDM
;------------------------------------------
L MACRO
MOV AX,X_COORD
MOV CX,Y_COORD
MOV X_COORD1,AX
MOV Y_COORD1,CX
ADD Y_COORD1,OY
ADD X_COORD1,OX
MOV AH,0CH
MOV AL,COLOR
MOV BH,0
MOV CX,X_COORD1
MOV DX,Y_COORD1
INT 10H
ENDM
WRITE MACRO