Link to home
Start Free TrialLog in
Avatar of BulletAndASmile
BulletAndASmile

asked on

Can not compile 16-bit Assembly using nasm on WinXP Pro or run 16-bit Apps

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?
ASKER CERTIFIED SOLUTION
Avatar of BeyondWu
BeyondWu
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial