Mail Archives: djgpp/2001/05/07/03:45:06.1
"Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il> 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/
- Raw text -