exe2bin

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search

The command-line tool exe2bin is a post-compilation utility program which runs under MS-DOS.[1][2] It was distributed with many language compilers for MS-DOS in the 1980s, and included with certain versions of IBM PC DOS. The command is also available in FreeDOS.[3]

Early compilers and linkers for the MS-DOS platform could not produce a COM file executable directly. Instead, the compilers would output an EXE-format file with relocation information. If all 8086 segments were set to be identical in such an EXE file (i.e. the "tiny" memory model was used), then exe2bin could convert it to a COM file.[4] exe2bin could also be used to convert compiled code to make it suitable to be embedded in ROM as part of BIOS or a device driver.

See also[edit]

References[edit]

  1. ^ Paterson, Tim (2013-12-19) [1983]. "Microsoft DOS V1.1 and V2.0: /msdos/v20source/EXE2BIN.ASM". Computer History Museum, Microsoft. Retrieved 2015-10-01. 
  2. ^ Shustek, Len (2014-03-24). "Microsoft MS-DOS early source code". Software Gems: The Computer History Museum Historical Source Code Series. Retrieved 2015-10-01. 
  3. ^ http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/distributions/1.2/repos/pkg-html/group-base.html
  4. ^ The New Peter Norton Programmer's Guide to the IBM PC & PS/2 by Peter Norton and Richard Wilton (Microsoft Press, 1987) ISBN 1-55615-131-4, p.425

External links[edit]