Date: Sun, 20 Jul 1997 07:50:48 -0700 (PDT) Message-Id: <199707201450.HAA05602@adit.ap.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" To: djgpp AT delorie DOT com From: Nate Eldredge Subject: Re: djgpp inline asm Precedence: bulk Jason Meehan wrote: >Anyone know why this crashes? > >asm("movw %bx,%es"); > >I get a GPF at eip =00002457, error=f140 You'll have to restore %es before returning to C code. Nate Eldredge eldredge AT ap DOT net