Solved

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

Posted on 2004-10-15
3
202 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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
What are the %fs and %gs registers? 3 1,204
port mapped I/o query 10 140
gcc error: -mpreferred-stack-boundary=2 is not between 4 and 12 7 1,747
Session arrays 10 358
We have come a long way with backup and data protection — from backing up to floppies, external drives, CDs, Blu-ray, flash drives, SSD drives, and now to the cloud.
Use of TCL script on Cisco devices:  - create file and merge it with running configuration to apply configuration changes
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

746 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now