X

PSP meaning in Computing ?

( 5 )  .  1 Rating
1638 views   .  0 comments  .   . 

Download Solution PDF

Answer: What is Program Segment Prefix mean?

The Program Segment Prefix (PSP) is a data structure used in DOS systems to store the state of a program. It resembles the Zero Page in the CP/M operating system. The PSP has the following structure:

The PSP is most often used to get the command line arguments of a DOS program; for example, the command "FOO.EXE /A /F" executes FOO.EXE with the arguments '/A' and '/F'.

If the PSP entry for the command line length is non-zero and the pointer to the environment segment is neither 0000h nor FFFFh, programs should first try to retrieve the command line from the environment variable %CMDLINE% before extracting it from the PSP. This way, it is possible to pass command lines longer than 126 characters to applications.

The segment address of the PSP is passed in the DS register when the program is executed. It can also be determined later by using Int 21h function 51h or Int 21h function 62h. Either function will return the PSP address in register BX.

Alternatively, in .COM programs loaded at offset 100h, one can address the PSP directly just by using the offsets listed above. Offset 000h points to the beginning of the PSP, 0FFh points to the end, etc.

For example, the following code displays the command line arguments:

In DOS 1.x, it was necessary for the CS (Code Segment) register to contain the same segment as the PSP at program termination, thus standard programming practice involved saving the DS register to the stack at program start (since the DS register is loaded with the PSP segment) and terminating the program with a RETF instruction, which would pop the saved segment value off the stack and jump to address 0 of the PSP, which contained an INT 20h instruction.

If the executable was a .COM file, this procedure was unnecessary and the program could be terminated merely with a direct INT 20h instruction or else calling INT 21h Function 0. However, the programmer still had to ensure that the CS register contained the segment address of the PSP at program termination. Thus,

In DOS 2.x and higher, program termination was accomplished instead with INT 21h Function 4Ch which did not require the CS register to contain the segment value of the PSP.

reference
Full Form Category
Pressure Sensitive Paint Academic & Science
Peer Support Provider Academic & Science
Prevention Science and Practice Academic & Science
Pumped Storage Project Academic & Science
Paralytic Shellfish Poisoning Academic & Science
Palm Springs (ca) , Airport Code
Per Something Pricing Business
Professional Service Providers Business
Prosperity Resources Ltd Business
Paintball Sports Promotions Business
People Service Profit Business
Personal Systems Products Business
Production Studio Productions Community
Public School Program Community
Please Stop Playing Community
Priority Schools Program Community
Pre School Playgroup Community
Product Service Publication Community
Portable Sony Playstation Community
Philadelphia School Partnership Community
Park Sand Play Community
Public Service Profiles Computer and Networking
Program Segment Pointer Computer Assembly Language
Pixel Standard Point Computer Hardware
Path Selection Policy Computing
Perfect Security Property Computing
Program Segment Prefix Computing
Property Sheet Page Computing
Power Saving Protocol Computing
Pit Signal Processing Computing
Project Scheduler Planning Computing
Photoshop Preferences File Computing
Point of Sale Processor Computing
Personal Software Process Computing
Payment Service Provider Computing
Physical Security Professional Computing
Premier Solutions Provider Computing
Panda Sales Partner Computing
Personal Security Professional Computing
Proliant Support Pack Computing
Personal Software Products Computing
Process Spawner Computing
Presentation Services Process Computing
Python Server Pages Computing
ParaSwap Cryptocurrency
Paintshop Pro Image Format Electronics
Pure Sound Processor Electronics
Procedure (prodea Synergy) File Type
Play Station Portable Gaming Console
Philly Support Philly General
Passive Self Peeling General
Payment Service Providers General
Pathetic Sony Portable General
Pretty Steep Price General
Personal Study Plan General
Play Station Pretty General
Professional Scholarly Publishing General
Progressive Supernucleor Polsy General
Puget Sound Partnership General
Phage Shock Proteins General
Product Service Plan General
Preferred Service Provider General
Phage Shock Protein General
Pyloric Sphincter Problems General
Pain S Pain General
Pain S P General
Paint Shopd Pro General
Programmable Signal Processor General
Please Stop Pok General
Problematic Sony Portable General
Pro Street Project General
Pathetic Sony Player General
Pain S Paincategory General
Personal Sausage Poker General
Precompiled Server Pages General
Pretty Shoddy Product General
Private Sector Program General
Please Support Perfect General
Performance Share Plan General
Preventive Services Program General
Purity Safety Potency General
Precision Surface Preparation General
Problem Set Problem General
Progress Safety Progress General
Poly Styrene Paper General
Positive Shock Percentage General
Private Sector Participation General
Parents Supporting Parents General
Pretty Small Pen*s General
Participation Sportsmanship and Performance General
Pre Studies Program General
Pretty Small Penis General
Progressive Supernuclear Palsy General
Public Section Partners General
People Systems and Process General
Personal Strengths Publishing General
Peak Season Pops General
Public Safety Partnership General
Parking System Plus General
Personnel Surety Program General
Pre Safe Plus General
Pancreatic Stone Protein General
Petrol Subsidy Programme General
Panoramic Sunroof Package General
Pod Security Policies General
Pod Security Policy General
Parker Solar Probe General
Power Steering Pressure General
Power Seat Package General
Power Steering Pump General
Power Steering Plus General
Personalized Sill Plates General
Pre-Activity Safety Plan General
Paralytic Shellfish Poison General
Platform Support Package General
Pesticide Submissions Portal General
Personal Support Program General
Pump Start Procedure General
Photos Stimulable Phosphor General
Pastoral Support Plan General
Plot Sex Plot General
Pure Solid Perfect General
Portable Station Play General
Premium Selection Program General
Platform Support Products General
Partnership for Safety Plan General
Penny S Pritzker General
Professional Service Provider General
Pastoral Support Programme General
People Support People General
Planning Scheduling Professional General
Position Specific Priors General
Post Shoring Polyethylene General
Programs Specifications And Proofs General
Pak Sar Zameen Party (Pakistan) Governmental
Police Service of Pakistan Governmental
Physician Special Pay Governmental
Peoples Salvation Party Governmental
Pennsylvania State Police Governmental
Preventive Service Planning Governmental
Pure Street Punk Governmental
Provincial Strategic Plan Governmental
Police Service Pistol Governmental
PA State Police Governmental
Planning and Scheduling Professional Governmental
Pierced Steel Planking Governmental
Putra Surya, Perkasa International
Para Sed Potens International
Partido Socialista Popular International
Professional Standards Program Jobs
Personal Solicitation Program Jobs
Progressive supranuclear palsy Medical
Posterior Spinal Paresis Medical
Phenolsulfonphthalein Test Medical
Posterior Spinous Process Medical
Pretty Special Partner Messaging
Power System Planning Messaging
Polizei Sicherheits Pistole Military and Defence
Perforated Steel Planking Military and Defence
Portable Sensor Platform Military and Defence
Power Support Platform Military and Defence
Pur Sang Party Regional
Palm Springs, California USA Regional
Paint Shop Pro Softwares
Payload Signal Processor Space Science
Payload Specialist Panel Space Science
Payload Support Plan Space Science
Program Support Plan Space Science
Project Schedule Plan Space Science
Phantom Stock Players Sports
Progressive Sports Points Sports
Payphone Service Provider Telecommunication

Take Quiz To Earn Credits!

Turn Your Knowledge into Earnings.




Give Rating
Report
Write Your Comments or Explanations to Help Others
Comments(0)





Miscellaneous in Computing
Miscellaneous in Computing

Ever curious about what that abbreviation stands for? fullforms has got them all listed out for you to explore. Simply,Choose a subject/topic and get started on a self-paced learning journey in a world of fullforms.

Explore Other Libraries

X

Important Computing Links





Copyright (c) 2021 TuteeHUB

OPEN APP
Channel Join Group Join