Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 730257
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T06:53:28+00:00 2026-05-14T06:53:28+00:00

I want to compile a "Hello World" MS-DOS exe. Not a program that runs

  • 0

I want to compile a "Hello World" MS-DOS exe.

Not a program that runs in XP 16bit mode, or in MS-DOS mode on top of Windows OSs.

A HELOWRLD.EXE that I can run on my MS-DOS box.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-14T06:53:28+00:00Added an answer on May 14, 2026 at 6:53 am

    I think DEBUG.EXE still ships with windows (at least it does with XP). Run debug and enter something along the lines of the following transcript:

    c:\src> debug
    -a 100
    1373:0100 mov ah,9
    1373:0102 mov dx,108
    1373:0105 int 21
    1373:0107 ret
    1373:0108 db "Hello world!$"
    1373:0115
    -n c:\hi.com
    -r bx
    BX 0000
    :0
    -r cx
    CX 0000
    :15
    -w
    Writing 00015 bytes
    -q
    
    c:\src> c:\hi.com
    Hello world!
    
    c:\src> _
    

    Read more on DEBUG.EXE at: http://en.wikipedia.org/wiki/Debug_(command)

    And the INT 21 display string http at: http://www.uv.tietgen.dk/staff/mlha/PC/Prog/asm/int/21/09.htm

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've got this 1 minute long movie that I want to compile into an
I have a set of cpp files that I want to compile directly into
I want to compile some C++ software that one can download here . It's
If I want to compile a c source file that uses libxml, how do
I want to compile the following line of code from http://code.google.com/p/enhsim : enh::eout <<
I want to compile a project differently, according to a constant defined by #define,
If I want to compile my .NET applications for a 64 bit environment. Do
I want to assign the decimal variable "trans" to the double variable "this.Opacity". decimal
I've found a similar question on SO , however, that seems not exactly what
I found that if you create a file called "usertype.dat" in visual studio's IDE

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.