|
8086 COde Sample
File IO
Procedure to close an already opened file. please note open files should be closed using this interrupt.
closefil proc near
mov bx,word ptr [file_handle]
mov ah,3eh
int 21h
jc error_closefil_12
ret
error_closefil_12:
stc
ret
endp
|