Why does using “int 21h” on Assembly x86 MASM cause my program to crash?

后端 未结 3 1560
再見小時候
再見小時候 2020-12-02 03:07

I was trying to make my program accept input without the user having to press enter, so I tried the following:

mov ah,01h
int 21h

But it ju

3条回答
  •  感情败类
    2020-12-02 03:42

    Use the linker version 5.60 to generate 16-bit DOS applications. You can get this from: http://download.microsoft.com/download/vc15/Update/1/WIN98/EN-US/Lnk563.exe

    Dirk

提交回复
热议问题