?
Solved

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

Posted on 2004-10-15
3
Medium Priority
?
210 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 9

Accepted Solution

by:
BeyondWu earned 1000 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

Enroll in August's Course of the Month

August's CompTIA IT Fundamentals course includes 19 hours of basic computer principle modules and prepares you for the certification exam. It's free for Premium Members, Team Accounts, and Qualified Experts!

Question has a verified solution.

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

The well known Cerber ransomware continues to spread this summer through spear phishing email campaigns targeting enterprises. Learn how it easily bypasses traditional defenses - and what you can do to protect your data.
In this modest contribution, I want to share with the IT community (especially system administrators, IT Support Engineers and IT Help Desks) about Windows crashes/hangs and how to deal with these particular problems.
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
Suggested Courses

752 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