.model small
.code
org 100h
start:
	mov ax,	3d02h
	mov dx,	offset fname
	int 21h
	jc FUCK
	mov bx, ax
	mov ax, 4200h
	mov cx,	0
	mov dx,	6
	int 21h
	mov ah,	40h
	mov dx,	offset msg
	mov cx,	3
	int 21h
	mov ah,	3eh
	int 21h
	int 20h
FUCK:	mov ah,	09
	mov dx,	offset ferr
	int 21h
	int 20h
ferr 	db 'SHIT!!!$'
fname	db 'c:\edit.txt'
msg	db 'CAT'	
end start
