Mail Archives: djgpp/2009/11/10/15:01:09

X-Authentication-Warning: mail set sender to djgpp-bounces using -f
From: Rugxulo <rugxulo AT gmail DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: GAS ".code16" and DJASM quirks ...
Date: Tue, 10 Nov 2009 11:54:57 -0800 (PST)
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>
Mime-Version: 1.0
X-Trace: 1257882897 13760 (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:; posting-host=;
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/ 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


On Nov 9, 10:29=A0pm, DJ Delorie <d DOT  DOT  DOT  AT delorie DOT com> 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
carried away and introduced support for many additional opcodes that
not yet been used.  As a result, `djasm' has become sufficiently
powerful to be useful for more 16-bit applications than just the DJGPP

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.

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."

- Raw text -

  webmaster     delorie software   privacy  
  Copyright 2019   by DJ Delorie     Updated Jul 2019