From: | djb@koobera.math.uic.edu (D. J. Bernstein) |
Newsgroups: | comp.compilers |
Date: | 12 Jul 1999 01:04:00 -0400 |
Organization: | IR |
References: | 99-07-023 99-07-038 99-07-042 |
Keywords: | assembler |
David Chase <chase@world.std.com> wrote:
> It's just insane that I write
> add r1,r3,r2 (quick, which is the destination operand?)
So don't. Write, e.g.,
eax = ebx + ecx*8 + 3
and feed it through your favorite preassembler to print
lea 3(%ebx,%ecx,8),%eax
for gcc's assembler.
---Dan
Return to the
comp.compilers page.
Search the
comp.compilers archives again.