assume cs:code
code segment
    ; This code is used to clear the memory 
    ; of the safe area from 0020:0 to 0020:ff
    mov ax,20
    mov ds,ax
    mov cx,0ffh
    mov bx,0
s:
    mov ax,0
    mov ds:[bx],ax
    inc bx
    loop s

    mov ax,4c00h
    int 21h

code ends
end