X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: Rugxulo Newsgroups: comp.os.msdos.djgpp Subject: Re: GAS ".code16" and DJASM quirks ... Date: Tue, 10 Nov 2009 11:54:57 -0800 (PST) Organization: http://groups.google.com Lines: 33 Message-ID: References: <0008cd2e-63c9-43cb-82d4-11aece7c209f AT c3g2000yqd DOT googlegroups DOT com> <200911100429 DOT nAA4T6BM021619 AT envy DOT delorie DOT com> NNTP-Posting-Host: 65.13.115.246 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1257882897 13760 127.0.0.1 (10 Nov 2009 19:54:57 GMT) X-Complaints-To: groups-abuse AT google DOT com NNTP-Posting-Date: Tue, 10 Nov 2009 19:54:57 +0000 (UTC) Complaints-To: groups-abuse AT google DOT com Injection-Info: p35g2000yqh.googlegroups.com; posting-host=65.13.115.246; posting-account=p5rsXQoAAAB8KPnVlgg9E_vlm2dvVhfO User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/532.0 (KHTML, like Gecko) Chrome/3.0.195.27 Safari/532.0,gzip(gfe),gzip(gfe) To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Hi, On Nov 9, 10:29=A0pm, DJ Delorie wrote: > > Keep in mind that both djasm and gas/.code16 were designed for very > limited uses - in djgpp, for the stub and sbrk code and in gas for the > linux boot sector. Yes, but DJASM was extended quite a bit (by Bill Currie, apparently). And I quote: "The `djasm' compiler was to have no other purpose in life, and was never intended to be a generic utility, until some of the developers got carried away and introduced support for many additional opcodes that had not yet been used. As a result, `djasm' has become sufficiently powerful to be useful for more 16-bit applications than just the DJGPP stub." A check of the CVS shows that it hasn't changed too too much, but it indeed has had a few minor changes in the past few years. http://www.delorie.com/bin/cvsweb.cgi/djgpp/src/djasm/djasm.y Linux, however, I'm not that familiar with, but I always thought it used dev86 (bcc, as86) for the 16-bit stuff. "... within Linux the assembler and linker are used for bootblocks, DOSEMU and other packages." http://www.debath.co.uk/