CMD file (CP/M)

CMD file (CP/M)

In CP/M-86, CMD is the filename extension used by executable programs. It corresponds to COM in CP/M-80 and EXE in MS-DOS.

Binary format

A CMD file has a 128-byte header, followed by 1-8 groups of code or data. Each group can be up to 1 megabyte in size. In later versions of the format, CMD files can also contain relocation information and Resident System Extensions.

The start of the header lists the groups present in the file, and their types. Each type can be used at most once; they are:
#Code
#Data
#Extra
#Stack
#User 1
#User 2
#User 3
#User 4
#Shared Code (Code and Shared Code cannot be present in the same file).

The first 256 bytes of the data group must be zero; they will be populated by CP/M-86 with the zero page (comparable to the Program Segment Prefix in MS-DOS). If there is no data group, then the first 256 bytes of the code group will be used instead.


Wikimedia Foundation. 2010.

Игры ⚽ Поможем решить контрольную работу

Look at other dictionaries:

  • CMD — is a three letter abbreviation that could mean, depending on context: * A common abbreviation for command (especially used in a computer context) * Canis Major Dwarf galaxy orbiting the Milky Way. * Cable Mágico Deportes, a Peruvian sports… …   Wikipedia

  • Cmd exe — Cmd.exe cmd.exe est l interpréteur de commande en mode texte de Windows NT et OS/2. Son ancêtre, sous MS DOS (et présent dans Windows 9x) était command.com. Il est l équivalent du shell sous Unix ou cygwin. Il peut interpréter des fichiers batch… …   Wikipédia en Français

  • cmd.exe — cmd.exe, Lorem ipsum anzeigend Basisdaten Entwickler Microsoft Corporation Betriebssyst …   Deutsch Wikipedia

  • File Allocation Table — FAT (от англ. File Allocation Table «таблица размещения файлов») архитектура файловой системы, сейчас широко используемая в картах памяти фотоаппаратов и других устройств. Разработана Биллом Гейтсом и Марком МакДональдом в 1977 году[1].… …   Википедия

  • Cmd.exe — Sketch of cmd.exe, with fictional language. cmd.exe est l interpréteur de commande en mode texte de Windows NT et OS/2. Son ancêtre, sous MS DOS (et présent dans Windows 9x) était command.com. Il est l équivalent du shell sous Unix ou cygwin. Il… …   Wikipédia en Français

  • Cmd.exe — У этого термина существуют и другие значения, см. Cmd. cmd.exe Windows после запуска Cmd.exe  интерпретатор командной строки (англ. command line interpreter) для операционных сис …   Википедия

  • File Allocation Table — For other uses, see Fat (disambiguation). FAT Developer Microsoft Full Name File Allocation Table FAT12 (12‑bit version) FAT16/FAT16B (16‑bit versions) FAT32 (32‑bit version with 28 bits used) Introduced …   Wikipedia

  • CMD — Command (Governmental » NASA) Command (Governmental » Military) * Command file (Computing » File Extensions) * Cross Machine Direction (Business » Products) * Certified Marketing Director (Business » Positions) * External command menu (1st… …   Abbreviations dictionary

  • CMD — abbr. comp.OS/2 batch/REXX file …   Dictionary of computer extensions

  • .cmd — comp. abbr. Command (file name extension) …   United dictionary of abbreviations and acronyms

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”