From mboxrd@z Thu Jan 1 00:00:00 1970 From: hjl@nynexst.com (H.J. Lu) To: baford@schirf.cs.utah.edu (Bryan Ford) Cc: gas2@cygnus.com, raeburn@cygnus.com (Ken Raeburn), ian@cygnus.com (Ian Lance Taylor) Subject: Re: 16-bit i386 code support in GAS Date: Wed, 09 Nov 1994 07:20:00 -0000 Message-id: <9411091519.AA29119@titanic.nynexst.com> References: <199411091455.HAA25021@schirf.cs.utah.edu> X-SW-Source: 1994/msg00154.html > > (Sorry if this isn't the right place to ask this question; > I couldn't find any better address in the GAS documentation...) > > How difficult would it be to add a feature to the i386 version > of GAS to allow it to generate 16-bit i386 code? It seems like > it should be a trivial change - just add a directive that inverts > the decision of whether or not to add size prefixes to each > instruction, right? Such a feature would make it possible to > avoid the icky old inverted-syntax, non-cross-compiling as86 and > ld86 programs for writing boot-related code in Mach (Hurd/Lites) > and Linux. > > So, could someone either add this feature, or point me to the > right parts of gas-i386 so I can do it myself, or tell me why > it isn't so simple? > Please take a look at my CC field. -- H.J. Lu NYNEX Science and Technology, Inc. hjl@nynexst.com