主题:[讨论]求助!简单程序不能运行
一个简单程序:
.386
.model flat,stdcall
.stack 100h
.code
start:
mov ah,1
int 21h
end start
编译、连接都通过(obj为coff格式),运行时却出现对话框“文件名.exe has encountered a problem and needs to close. We are sorry for the inconvenience.”
其中“mov ah,1
int 21h”改成其他任何代码结果都一样。请高人指点!
.386
.model flat,stdcall
.stack 100h
.code
start:
mov ah,1
int 21h
end start
编译、连接都通过(obj为coff格式),运行时却出现对话框“文件名.exe has encountered a problem and needs to close. We are sorry for the inconvenience.”
其中“mov ah,1
int 21h”改成其他任何代码结果都一样。请高人指点!