Function 26h Create New PSP

mov dx, SegmentPSP ;segment address to receive PSP

mov ah, 26h ;Create New PSP

int 21h

Create New PSP (Function 26h) creates a new program segment prefix (PSP), copying it to the beginning of the segment specified by the SegmentPSP parameter.

This function has been superseded by Load and Execute Program (Function 4B00h).

Parameter

SegmentPSP

Specifies the address of a segment to receive the new PSP.

Return Value

This function has no return value.

Comment

This function is intended to be called only by .COM programs. When a program calls this function, the CS register must contain the segment address of the PSP.

See Also

Function 4B00h Load and Execute Program