.model tiny

.code

    main proc
        
        
        ; display function is replaced by 21h
        ; pre-init for display function function
        mov ah, 2h
        
        call fag
        call fag
        call fag
        
        mov dl, 33
        int 21h
        
        mov ah, 4Ch ; terminate
        int 21h
        
    endp
    
    ; displays fag
    fag proc
        
        mov dl, 70 ; F
        int 21h
        
        mov dl, 97 ; a
        int 21h
        
        mov dl, 103; g
        int 21h
        
        ret
    endp fag
    
end main