i have a problem in my assembly program.
i have a problem with open and create files.
in my program i always open and create a new files ,but after 5-6 open\create ,the program stop working.
i think the problem is that my file handle is not available (after error ,ax=0004).
how it can be? 5-6 time its going very well but after thar their is an error?
Since the code seemed to break the forum formatting, it has been removed from the post and made into an attachment instead. Please find the code attached in the file 'code.txt'.