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 15:34:58 -0800 (PST) Organization: http://groups.google.com Lines: 33 Message-ID: <5333f853-8acc-46a2-b44d-ac65f4a606f6@37g2000yqm.googlegroups.com> References: <0008cd2e-63c9-43cb-82d4-11aece7c209f AT c3g2000yqd DOT googlegroups DOT com> <200911100429 DOT nAA4T6BM021619 AT envy DOT delorie DOT com> <200911102010 DOT nAAKAxKI006111 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 1257896098 13038 127.0.0.1 (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: 37g2000yqm.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.32 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 10, 2:10=A0pm, DJ Delorie 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},