Simple assembly program runtime error
I'm new to assembly language and the VS2005 environment. When I wrote a simple program as follows:
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?