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
  • 1 View
  • 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 want compile some GUI into a Windows standalone application ( *.exe ). The
I want to compile my .java's (several) into one .jar that are compatible with
I want to compile php sqlite3 with custom compile option. to do that I
I want to compile C code from the Command Prompt in Windows. I have
I have such a regular expression: re.compile(r"((https?):((//)|(\\\\))+[\w\d:#@%/;$()~_?\+-=\\\.&]*)", re.MULTILINE|re.UNICODE) But that doesn't include hashbangs (#!)
when i want compile my app with the Distribution or Release method i get
I want to compile a plugin for an application as a dynamic library. Usually,
I want to compile the data for reporting purpose, using php communicating with postgres,
I want to compile the Rigi source code but I get some error while
I want to compile GCC and binutils which would produce 64bit executables. From GNU

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.