Simple assembly program runtime error
I'm new to assembly language and the VS2005 environment. When I wrote a simple program as follows:
.386
.model flat,stdcall
.stack 100h
.code
start:
mov ah,1
int 21h
end start
The compilation and linkage all passed well, but at runtime a dialogbox displayed: "filename.exe has encountered a problem and needs to close. We are sorry for the inconvenience."
No difference is made when "mov ah,1
int 21h" is changed to any other code.
Can anybody help me?
|