Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!cmcl2!rutgers!ames!lll-tis!ptsfa!hoptoad!academ!uhnix1!sugar!peter From: peter@sugar.UUCP (Peter da Silva) Newsgroups: comp.lang.c Subject: Re: Types Message-ID: <613@sugar.UUCP> Date: Tue, 1-Sep-87 17:49:13 EDT Article-I.D.: sugar.613 Posted: Tue Sep 1 17:49:13 1987 Date-Received: Sat, 5-Sep-87 09:37:14 EDT References: <7264@brl-adm.ARPA> <734@sdchema.sdchem.UUCP> <293@osupyr.UUCP> <296@swlabs.UUCP> Organization: Sugar Land UNIX - Houston, TX Lines: 11 Summary: Sounds like the UNIX pdp-11 assembler. > [ description of how to make an assembler that handles long/short branches ] But that doesn't resolve the problem of how to deal with near and far cals to seperately compiled code. If the calling sequence of the 8086 was a little more logical, you could have 2 entry points for the routine: near and far. The near would just push the segment and fall through to the far. Unfortunately, segment is not the top of the stack in a far call. See Kernighan's April column in Computer Language. -- -- Peter da Silva `-_-' ...!seismo!soma!uhnix1!sugar!peter -- U <--- not a copyrighted cartoon :->