From: "Anthony.Appleyard" Organization: Materials Science Centre To: djgpp-workers AT delorie DOT com Date: Tue, 20 Jan 1998 15:24:41 GMT Subject: Re: MCLSSAA2 : hooking interrupt 9 Reply-to: Anthony DOT Appleyard AT umist DOT ac DOT uk Message-ID: <7B1E493424@fs2.mt.umist.ac.uk> Precedence: bulk > Anything which passes arguments on the stack, or uses automatic arrays > will potentially not work. GCC assumes that SS = DS, so that you can > reference addresses interchangably with [EBX] or [EBP]. Simple functions > don't trip over this, complicated ones will. Then should I insert the two instructions mov %ss,%ax mov %ax,%ds next before this instruction? call *%ebx /* call the user function */