Solved

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

Posted on 2004-10-15
3
204 Views
Last Modified: 2006-11-17
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?
0
Comment
Question by:BulletAndASmile
3 Comments
 
LVL 9

Accepted Solution

by:
BeyondWu earned 250 total points
ID: 12326816
http://support.microsoft.com/default.aspx?scid=kb;en-us;305521

You must miss the autoexec.nt file, just copy it from another computer.

Hope this can help you.
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

With User Account Control (UAC) enabled in Windows 7, one needs to open an elevated Command Prompt in order to run scripts under administrative privileges. Although the elevated Command Prompt accomplishes the task, the question How to run as script…
When it comes to protecting Oracle Database servers and systems, there are a ton of myths out there. Here are the most common.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question