About this document
Understanding the Program Segment Prefix by Krishna Kumar is a document available to read on EtoBox.
The Program Segment Prefix (PSP) provides compatibility with CP/M and enables MS-DOS programs to access arguments. The PSP contains an INT 20h termination call, formatted data including file paths, and the command tail. DS and ES point to the PSP for every program run under MS-DOS. .COM programs run within a single 64KB segment starting at offset 100h with the stack at FFFEh, while .EXE programs can have multiple segments and start execution at offset 0000 or a labeled address.
- Author
- Krishna Kumar
- Language
- EN