.MODEL TINY .CODE .STARTUP CLD ;clear direction bit MOV AX, 0B800h ;The segment address for video memory MOV ES, AX ;DESTINATION IN THE EXTRA SEGMENT MOV DI, 0 ;Offset in the video memory MOV CX, 25*80 ;Rowsxcolumns in the video memory ; MOV AX, 1530H MOV AX, 0720H ; VALUE TO FILL THE DISPLAY MEMORY ; MSB - foreground/background color ; LSB - symbol REP STOSW ; CLEAR THE SCREEN .EXIT END