Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site brl-tgr.ARPA Path: utzoo!watmath!clyde!bonnie!akgua!whuxlm!harpo!decvax!genrad!panda!talcott!harvard!seismo!brl-tgr!tgr!jlt%styx.uucp@BRL.ARPA From: jlt%styx.uucp@BRL.ARPA (John L. Thomas) Newsgroups: net.micro Subject: Re: Re: DOS EXEC FUNCTION CALL Message-ID: <1333@brl-tgr.ARPA> Date: Sat, 7-Sep-85 15:56:15 EDT Article-I.D.: brl-tgr.1333 Posted: Sat Sep 7 15:56:15 1985 Date-Received: Mon, 9-Sep-85 03:47:30 EDT Sender: news@brl-tgr.ARPA Lines: 21 > when you return back to TURBO all your stack and data is garbage. The > solution is to push all your necessary registers and then save the SS > and SP in a location in your code segment. Just to clear up a ?minor? point of confusion: How could the return from interrupt have happened if the SS:SP is garbage? In fact, the restoration of CS:IP comes from the return, which requires that SS:SP be correct. John -- ARPA jlt@styx UUCP ...!seismo!lognet2!styx!jlt Deathstar (415) 423-6029 SNail John L. Thomas MS-L275 POB 808 Livermore, CA 94550 * * * I deny that the preceeding has any relation to reality. * * *