Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!swrinde!cs.utexas.edu!uunet!kithrup!sef From: sef@kithrup.COM (Sean Eric Fagan) Newsgroups: comp.unix.sysv386 Subject: Re: '386 question Message-ID: <1991Jun01.192951.27198@kithrup.COM> Date: 1 Jun 91 19:29:51 GMT References: <1991May31.204707.19339@kithrup.COM> Organization: Kithrup Enterprises, Ltd. Lines: 21 In article <1991May31.204707.19339@kithrup.COM> sef@kithrup.COM (Sean Eric Fagan) writes: >I've been playing with something, lately, and have been getting a core-dump, >and I'm not entirely sure why. Thanks to Bruce Evans (evans@syd.dit.csiro.au), I do know why. >>> jmp *%eax ; 0xff 0x40 That should have been a '0xff 0xe0'. Whoever typed it into the '386 definition file did so incorrectly (actually, I was wrong, as well: it was '040', or 32 decimal). Changing it to 0xe0 causes it to work. Anyway, nested functions appear to work now. I'll make sure the change makes its way back to rms... -- Sean Eric Fagan | "I made the universe, but please don't blame me for it; sef@kithrup.COM | I had a bellyache at the time." -----------------+ -- The Turtle (Stephen King, _It_) Any opinions expressed are my own, and generally unpopular with others.