The full name of exe is "executable", which means "executable" in Chinese. It is a file format and refers to an executable program that can be floated and positioned in the operating system storage space. EXE files can be loaded into memory and executed by the operating system loader.
The operating environment of this tutorial: Windows 7 system, Dell G3 computer.
The full name of exe is "executable", which means "executable" in Chinese and is a file format.
exe file is a file in Portable Executable (PE) file format. It can be loaded into memory and executed by the operating system loader. It is an executable file that can be floated and positioned in the operating system storage space. execute program. For example, the notepad program notepad.exe can be used to edit documents, such as: test.txt. Double-click to open the notepad.exe notepad program for editing.
Binary executable files in the WINDOWS operating system are divided into two types, one with the suffix ·COM and the other with .EXE.
.COM is generally used in DOS. The executable files in the WINDOWS system are generally ·EXE files. In MS-DOS, it is the file extension used to identify the executable file. The user can run the executable program by entering the file name without the .exe extension in the prompt line and pressing the Enter key.
Structure
EXE file is divided into two parts: EXE file header and program body.
The exe file is relatively complex and has a multi-segment structure. It is one of the most successful and complex designs of DOS. Each exe file contains a file header and an image of a relocatable program. The file header contains information used by MS-DOS to load the program, such as the program's size and initial values for registers. The file header also points to a relocation table, which contains a linked list of pointers to the addresses of relocatable segments in the program image.
MS-DOS loads the exe program by copying the image directly from the file to memory, and then adjusts the relocatable segment address specified in the location table. The location table is an array of relocation pointers, each pointing to a relocatable segment address in the program image.
For more related knowledge, please visit the FAQ column!
The above is the detailed content of what is exe. For more information, please follow other related articles on the PHP Chinese website!