Date: Sat, 25 Nov 2000 18:24:21 +0200 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: "Fairbairn Family" Message-Id: <5567-Sat25Nov2000182420+0200-eliz@is.elta.co.il> X-Mailer: Emacs 20.6 (via feedmail 8.3.emacs20_6 I) and Blat ver 1.8.6 CC: djgpp AT delorie DOT com In-reply-to: <8vo4e9$m95$1@lust.ihug.co.nz> (lgcl01@es.co.nz) Subject: Re: Using AS (GAS) to produce COM files - is it possible? References: <8vn57g$rol$1 AT lust DOT ihug DOT co DOT nz> <8vnig9$5sl$2 AT newsg1 DOT svr DOT pol DOT co DOT uk> <8vo4e9$m95$1 AT lust DOT ihug DOT co DOT nz> Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > From: "Fairbairn Family" > Newsgroups: comp.os.msdos.djgpp > Date: Sat, 25 Nov 2000 23:24:33 +1300 > > > As far as I am aware AS/GAS is 32 bit only > > Quoting the Linux Assembly howto: > > 3.2.4. 16-bit mode > > Binutils (2.9.1.0.25+) now fully support 16-bit mode (registers and > addressing) on i386 PCs. Use .code16 and .code32 to switch between > assembly modes. Beware: Gas will issue 16-bit opcodes when it sees .code16, but the code is still protected-mode code. In particular, real-mode seg:off addresses are not supported, AFAIK.