search
HomeCommon ProblemWhat is the file with extension com

The file with the extension com is a binary executable file; the purpose of this file is to directly execute the command of the program code. The file does not come with any supporting data and only contains executable code. The file header is the An execution instruction has no relocation information, so the code cannot have instructions that operate data across memory segments, so the code and data can only be limited to the same 64KB memory segment.

What is the file with extension com

The operating environment of this tutorial: Windows 10 system, DELL G3 computer.

What is a file with a com extension?

A file with a COM extension is a binary executable file. Its purpose is to directly execute the command of the program code. It can be used by double-clicking the left mouse button. You can open it by double-clicking with the left button or opening it with the right button.

com file refers to the binary executable file in the operating system.

There are two types of executable files: one is suffixed with .COM and the other is .EXE. .COM is generally used in DOS.

What is the file with extension com

COM format file is a simple executable file. In the operating system introduced by Diguido Corporation in the 1970s, COM was used as the extension for text files containing commands supported by the operating system (similar to .cmd files in Windows systems). With the introduction of CP/M (an operating system for microcomputers), files with the COM extension were changed into executable files. The format was later carried over to MS-DOS.

The COM file does not come with any supporting data and only contains executable code. The file header is the first execution instruction. There is no relocation information, so the code cannot have instructions to operate data across memory segments (segments), so the code and data can only be limited to the same 64KB memory segment.

The format is still executable on many modern Windows NT-based platforms, but it runs in the MS-DOS emulation subsystem NTVDM and does not exist in 64-bit variants. COM files can also be executed on DOS emulators (such as DOSBox), on any platform supported by these emulators.

Extended information

The difference between com and exe files

The characteristics of files with COM extension are as follows:

  • The program can only set one segment and does not create a stack segment;

  • The length of the program must be less than 64K bytes;

  • The program must reserve 100H space, and the beginning is an executable instruction;

  • The starting label where the program is loaded must be specified by the END statement. ;

  • The subroutine in the program must have the process attribute (NEAR);

  • If the COM file is linked by several different target modules Generated, all target modules are required to have the same code segment name and category name (CLASS), and be given a public attribute (PUBLIC), while the main module should have an entry pointer of 100H and be connected first.

For more related knowledge, please visit the FAQ column!

The above is the detailed content of What is the file with extension com. For more information, please follow other related articles on the PHP Chinese website!

Statement
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
wpsystem是什么文件夹wpsystem是什么文件夹Sep 01, 2022 am 11:22 AM

wpsystem文件夹是windows应用文件夹;创建WpSystem文件夹是为了存储某些特定“Microsoft Store”应用程序的数据,因此建议不要删该文件夹,因为删除之后就无法使用指定的应用。

winreagent是什么文件夹winreagent是什么文件夹Aug 26, 2022 am 11:23 AM

winreagent是在系统更新或升级的过程中创建的文件夹;该文件夹中通常包含临时文件,当更新或升级失败时,系统将通过还原先前创建的临时文件来回滚到执行更新或升级过程之前的版本。

baidunetdiskdownload是什么文件夹baidunetdiskdownload是什么文件夹Aug 30, 2022 am 10:45 AM

baidunetdiskdownload是百度网盘默认下载文件的文件夹;百度网盘是百度推出的一项云存储服务,只要下载东西到百度网盘里,都会默认保存到这个文件夹中,并且可跨终端随时随地查看和分享。

usmt.ppkg是什么文件usmt.ppkg是什么文件Sep 09, 2022 pm 02:14 PM

“usmt.ppkg”是windows自带的系统还原功能的系统备份文件;Windows系统还原是在不需要重新安装操作系统,也不会破坏数据文件的前提下使系统回到原有的工作状态,PBR恢复功能的备份文件就是“usmt.ppkg”。

mobileemumaster是什么文件mobileemumaster是什么文件Oct 26, 2022 am 11:28 AM

mobileEmuMaster是手机模拟大师的安装文件夹。手机模拟大师是PC电脑模拟运行安卓系统的免费模拟器程序,一款可以让用户在电脑上运行手机应用的软件,支持安装安卓系统中常见的apk执行文件,支持QQ、微信等生活常用应用,达到全面兼容的效果。

备份文件的扩展名通常是什么备份文件的扩展名通常是什么Sep 01, 2022 pm 03:55 PM

备份文件的扩展名通常是“.bak”;bak文件是一个备份文件,这类文件一般在'.bak前面加上应该有原来的扩展名,有的则是由原文件的后缀名和bak混合而成,在生成了某种类型的文件后,就会自动生成它的备份文件。

config是什么文件夹可以删除吗config是什么文件夹可以删除吗Sep 13, 2022 pm 03:48 PM

config是软件或者系统中的配置文件,不可以删除;该文件是在用户开机时对计算机进行初始化设置,也就是用户对系统的设置都由它来对计算机进行恢复,因此不能删除软件或者系统中的config配置文件,以免造成错误。

kml是什么文件的格式kml是什么文件的格式Sep 14, 2022 am 10:39 AM

kml是谷歌公司创建的一种地标性文件格式;该文件用于记录某一地点或连续地点的时间、经度、纬度、海拔等地理信息数据,可以被“Google Earth”和“Google Maps”识别并显示。

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
2 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Best Graphic Settings
2 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. How to Fix Audio if You Can't Hear Anyone
3 weeks agoBy尊渡假赌尊渡假赌尊渡假赌

Hot Tools

SAP NetWeaver Server Adapter for Eclipse

SAP NetWeaver Server Adapter for Eclipse

Integrate Eclipse with SAP NetWeaver application server.

EditPlus Chinese cracked version

EditPlus Chinese cracked version

Small size, syntax highlighting, does not support code prompt function

MantisBT

MantisBT

Mantis is an easy-to-deploy web-based defect tracking tool designed to aid in product defect tracking. It requires PHP, MySQL and a web server. Check out our demo and hosting services.

SublimeText3 Linux new version

SublimeText3 Linux new version

SublimeText3 Linux latest version

PhpStorm Mac version

PhpStorm Mac version

The latest (2018.2.1) professional PHP integrated development tool