You are on page 1of 1

.

model small
.stack 100h
.386
.data
.code
main PROC
mov ax,@data
mov ds,ax
mov ah, 0
mov al, 3h
<strong class="highlight">int</strong> <strong class="highlight"
>10h</strong> ; set video mode 80*25
mov ah,1
<strong class="highlight">int</strong> 21h
;---- code for colouring the <strong class="highlight">screen</strong>
mov ax, 0600h
mov ch, 1 ; size to set colu
mov cl, 1
mov dh, 24
mov dl, 78
mov bh, 100b
<strong class="highlight">int</strong> <strong class="highlight">10h</st
rong>
;-----------------------------------------------
mov ah ,04ch ; exit interrupt
<strong class="highlight">int</strong> 21h
; call sys interrupt
main ENDP
END main

You might also like