Q. Define about EXE Programs?
An EXE program is stored on disk with extension .exe. EXE programs are longer than COM programs as every EXE program is related with an EXE header of 256 bytes followed by a load module comprising the program itself. EXE header comprises information for operating system to compute the addresses of segments and other components.
Load module of EXE program includes up to 64K segments while at most only four segments may be active at an instance. The segments can be of variable size with maximum size being 64K.
We would write just EXE programs for the subsequent reasons:
- EXE programs are better appropriate for debugging.
- EXE-format assembler programs are more easily converted in subroutines for high-level languages.
- EXE programs are more effortlessly relocatable. Since there is not any ORG statementforcing the program to be loaded from a specific address.
- To fully use multitasking operating system programs should be able to share computer resources andmemory. An EXE program is effortlessly able to do this.