Mail Archives: djgpp/2009/11/10/18:45:16

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 15:34:58 -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> <b74a4c40-3d78-4952-98b0-ff9777f0594d AT p35g2000yqh DOT googlegroups DOT com>
<200911102010 DOT nAAKAxKI006111 AT envy DOT delorie DOT com>
Mime-Version: 1.0
X-Trace: 1257896098 13038 (10 Nov 2009 23:34:58 GMT)
X-Complaints-To: groups-abuse AT google DOT com
NNTP-Posting-Date: Tue, 10 Nov 2009 23:34:58 +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 10, 2:10=A0pm, DJ Delorie <d DOT  DOT  DOT  AT delorie DOT com> wrote:
> If you want to continue the fine tradition of making it meet your
> needs, go ahead :-)

Well, I don't grok yacc/bison, but here's the easiest change so far.
(Now for the hard part, argh ....)

*** djasm.y	Fri Aug 29 08:33:45 2008
--- tony.y	Tue Nov 10 17:18:24 2009
*** 285,290 ****
--- 285,291 ----
    {"insb", ONEBYTE, 0x6c},
    {"insw", ONEBYTE, 0x6d},
    {"insd", TWOBYTE, 0x666d},
+   {"int3", ONEBYTE, 0xcc},
    {"into", ONEBYTE, 0xce},
    {"iret", ONEBYTE, 0xcf},
    {"iretd", TWOBYTE, 0x66cf},
*** 315,320 ****
--- 316,322 ----
    {"repne", ONEBYTE, 0xf2},
    {"repnz", ONEBYTE, 0xf2},
    {"sahf", ONEBYTE, 0x9e},
+   {"salc", ONEBYTE, 0xd6},
    {"scasb", ONEBYTE, 0xae},
    {"scasw", ONEBYTE, 0xaf},
    {"scasd", TWOBYTE, 0x66af},

- Raw text -

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