C:\>debug
-a
0C89:0100 jmp 111
0C89:0102
-e db 'C:\Exam.txt',0
-a 111
0C89:0111 mov ah,3c
0C89:0113 mov cx,0
0C89:0115 mov dx,102
0C89:011D int 21
0C89:011F mov ah,4c
0C89:0121 int 21
0C89:0123
-h 123 111
0234 0012
-rcx
cx 0000
:0011
-n exam.com
-w
Writing 00011 bytes
-q
C:\>
Of course not! You're jumping over the relevant code. Try "jmp 108". Where did that "111" come from? That jumps into the middle of your "int 21"!
Best,
Frank
Best,
Frank
Ah sorry.I changed my codes.But this is not creating a file.
Well... what happens? Is the carry-flag set after your "creat" interrupt? If so, the error code should be in ax. If not (NC), ax should hold the "handle" - probably 4 or 5(?). You may need to close the file before it actually shows up on disk...
Best,
Frank
Best,
Frank
I sweated fasm in equal codes ms-dos debugger.
Well, that's nice. Have you created the file or not?
Best,
Frank
Best,
Frank