Can not compile 16-bit Assembly using nasm on WinXP Pro or run 16-bit Apps
Posted on 2004-10-15
While trying to program my project for my Assembly class, I have run into a strange error. I know it's just my machine, because the program compiles fine on any other machine. I get the following error
C:\WINDOWS\System32\cmd.exe - nasm16 -f obj dvideo.asm -o dvideo.obj
C:\WINDOWS\System32\AUTOEXEC.NT . The system file is not suitable for running MS-DOS and Microsoft Windows applications. Choose Close to terminate application.
I tried using command.com instead of cmd.exe as my DOS prompt and got this same message. Maybe this is more of an OS problem but I thought maybe some of you Assembly guys might know something as well. When I compile on another machine and the exe produced after linking works, I try to run it on my machine getting the same error. Any clues?