Re: I have a problem with my study
- From: "Dan" <spamtrap@xxxxxxxxxx>
- Date: 19 Oct 2006 11:56:15 -0700
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
.
- References:
- I have a problem with my study
- From: spamtrap
- I have a problem with my study
- Prev by Date: Re: I have a problem with my study
- Next by Date: Re: how can I see the result of the program?
- Previous by thread: Re: I have a problem with my study
- Next by thread: Re: I have a problem with my study
- Index(es):