From: "Alexei A. Frounze" Newsgroups: comp.os.msdos.djgpp Subject: Re: Assembler smal question Date: Mon, 7 May 2001 03:10:42 -0400 Organization: Global Crossing Telecommunications Lines: 39 Sender: UNKNOWN AT 209-130-219-129 DOT nas1 DOT roc DOT gblx DOT net Message-ID: <9d5hom$o22$2@node17.cwnet.roc.gblx.net> References: NNTP-Posting-Host: 209-130-219-129.nas1.roc.gblx.net X-Trace: node17.cwnet.roc.gblx.net 989219414 24642 209.130.219.129 (7 May 2001 07:10:14 GMT) X-Complaints-To: abuse AT frontiernet DOT net NNTP-Posting-Date: 7 May 2001 07:10:14 GMT X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com "Eli Zaretskii" wrote in message news:Pine DOT SUN DOT 3 DOT 91 DOT 1010507091338 DOT 19812F AT is... > > On Sun, 6 May 2001, Alexei A. Frounze wrote: > > > with AT&T you need to have those b/w/l everytime, even when obvious "mov ax, > > 1" is considered, it would be "movw $1, %ax". > > I don't think this is true anymore, at least not everywhere. Did you > try Gas from Binutils 2.11? I downloaded fresh DJGPP just a few days ago. Haven't taken a close look yet. > > > You can tell the compiler exactly what register it clobbers > > > e. g.. m not good at bcc > > > > Yes, this is nice and may be useful for the optimizer, though if you know > > what bcc expects to be preserved, you will do fine too. > > I don't think you can know that, since it is not documented anywhere > (AFAIK). Well, we can determine that in the disassembler. ...or ask a question in a related newsgroup if that thing is *really* nowhere documented in files that come with BCC. Good Luck -- Alexei A. Frounze alexfru [AT] chat [DOT] ru http://alexfru.chat.ru http://members.xoom.com/alexfru/ http://welcome.to/pmode/