Code for PROGRAM TO CLEAR SCREEN in Assembly Language
CODE SEGMENT
START: ASSUME CS:CODE
MOV AX,0600H ;06 TO SCROLL & 00 FOR FULLJ SCREEN
MOV BH,71H ;ATTRIBUTE 7 FOR BACKGROUND AND 1 FOR FOREGROUND
MOV CX,0000H ;STARTING COORDINATES
MOV DX,184FH ;ENDING COORDINATES
INT 10H ;FOR VIDEO DISPLAY
MOV AH,4CH ;RETURN TO DOS MODE
INT 21H
CODE ENDS
END START