Murugan.com
Murugan Andezuthu Dharmaratnam

  |  HOME   |  BLOG   |  TWITTER   |  ARTICLES   |  8086  |  C++   |  VC++   |  ASP .NET   |  VB .NET   |  JAVA SCRIPT   |  MS SQL   |  MY   |  VIDEOS   |  DOWNLOADS   |  CONTACT ME   |  



8086 Assembly Close FIle. Close a file opened for read write

Home   8086   8086 Assembly Close FIle. Close a file opened for read write         


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






  |  HOME   |  BLOG   |  TWITTER   |  ARTICLES   |  8086  |  C++   |  VC++   |  ASP .NET   |  VB .NET   |  JAVA SCRIPT   |  MS SQL   |  MY   |  VIDEOS   |  DOWNLOADS   |  CONTACT ME   |  

Copyright 2009 @ Murugan Andezuthu Dharmaratnam