Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!samsung!uunet!mcsun!sunic!draken!d88-jwa From: d88-jwa@nada.kth.se (Jon Watte) Newsgroups: comp.sys.mac.programmer Subject: Re: CODE segments Message-ID: <2303@draken.nada.kth.se> Date: 13 Nov 89 21:09:56 GMT References: <227700050@uxa.cso.uiuc.edu> Reply-To: d88-jwa@nada.kth.se (Jon W{tte) Organization: Royal Institute of Technology, Stockholm, Sweden Lines: 30 In article <227700050@uxa.cso.uiuc.edu> ews00461@uxa.cso.uiuc.edu writes: >I find the discussion of segmentation very interesting, and I have a >few questions which are probably more basic... I too am VERY interested in the inside of the CODE segments. Unfortunately neither the TechNotes nor IM have very much to say (other than you cannot have more than (4096-x, x== ?) jump table entries. (The jump table entries contain code for loading a segment and junmping. In EIGHT BYTES ? What code ? >Suppose I was going to write a compiler for the Mac. My understanding of >what this beast should finally create is this: >(where does A5 get set?). All local variables should be on the stack. >Any insight into this whole area would be very interesting. And >obviously, there are a few people on this net for whom this is >trivial. Any wisdom to pass on ? PLEASE, do ! I've been pulling my hair but decided that "It's probably of no use"... But now that other people as well have asked, my curiosity is KILLING me ! Happy Hacking ! h+ -- This .signature is longer than 4 lines. If you'd like to see it in whole, please send a note to me. I'm h+@nada.kth.se and also h+@proxxi.se 8')