سلام نمي دونم منظورت كاملا چيه ولي ايني كه مينويسم برات رسم يك مستطيل توپر در محيط گرافيكه:
main:
CLEAR MONITOR
-------------------
MOV AX,0600h ;service 6h int10
MOV CX,0000h ;left corner
MOV BH,41h ;blue on red
MOV DH,24 ;row right corner
MOV DL,79 ;column right corner
INT 10
CHANGE TO MODE 13H FOR GRAPHIC
------------------------------------------
MOV AH,0 ;service 0 int10
MOV AL,13h ;mode 13,320*200
INT 10h
DROWING
------------
MOV CX,50 ;Determine the begine
MOV DX,50 ;point
BACK1:
MOV AH,0ch ;active pixels with
MOV AL,1h ;color blue
INT 10h
INC CX ;go to next pixel of
CMP CX,100
JNE BACK1
MOV CX,50
INC DX
CMP DX,100
JNE BACK1
MOV AH,01h
INT 21h
با كشيدن 50 خط 50 پيكسلي يك مستطيل 50*50 رسم ميكند