Re: I have a problem with my study



This is an old trick for DOS exe programs. The first few bytes of the
DOS program prefix segment (at ds:0) are actually the instruction to
end the program and return to the operating system. By pushing ds:0
onto the stack, a simple "ret" will cleanly exit by executing that
little snippet of code that sits at the bottom of the PSP.

- Dan

.