Q. How do I create a COM file?

 DOS versions 3.2 and earlier include an EXE2BIN utility that
    converts EXE files to COM files. For users who do not have
    EXE2BIN, the Turbo C command-line linker, TLINK will create
    a COM file instead of an EXE file if the /t option is
    specified. For example:

     tcc -mt -lt tiny

    will create TINY.COM instead of TINY.EXE.

    There are certain limitations in converting an EXE file to a COM
    file. These limitations are documented in the IBM Disk Operating
    System manual under EXE2BIN.

    Turbo C's TINY model is compatible with the COM format, but programs
    that use Turbo C's floating point routines cannot be converted to a
    COM file.



Learn More :