Date: Mon, 7 May 2001 09:13:57 +0300 (IDT) From: Eli Zaretskii X-Sender: eliz AT is To: djgpp AT delorie DOT com Subject: Re: Assembler smal question In-Reply-To: <9d485u$4qi$1@node17.cwnet.roc.gblx.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk 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? > > 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).