MadSci Network: Computer Science

Re: what is psp in assembly language

Date: Fri Nov 28 11:57:28 2003
Posted By: Mike Westerfield, Staff, Computer Science, Byte Works, Inc.
Area of science: Computer Science
ID: 1069709739.Cs

Hi Fatemeh,

I assume you are writing a program for a computer using a Microsoft DOS operating 
system. If not, you will need to ask your question again, and specify the processor 
and operating system.

The Program Segment Prefix, or PSP, isn't really an assembly language instruction, 
it's a header built by DOS when your program runs. It occupies the first 256 bytes of 
memory, and contains information like the amount of available memory, where the 
available memory starts, the command line arguments, and so forth. You can find 
one description at

There is a lot of information available online, including numerous tutorials written at 
various levels. You'll get over 7000 hits with a search for "psp assembly language" 
on Google ( A little searching there should turn up all of the 
additional information you need.

Mike Westerfield
Byte Works, Inc.

Current Queue | Current Queue for Computer Science | Computer Science archives

Try the links in the MadSci Library for more information on Computer Science.

MadSci Home | Information | Search | Random Knowledge Generator | MadSci Archives | Mad Library | MAD Labs | MAD FAQs | Ask a ? | Join Us! | Help Support MadSci

MadSci Network,
© 1995-2003. All rights reserved.