On Wed, 15 Jun 2005 21:10:26 +0200 (CEST) Bodo Eggert <[email protected]> wrote: > > My documentation says: > > lea reg16, mem > Available on 8086, 80186, 80286, 80386, 80486 > 32-bit-extension available > Opcode: 8D mod reg r/m > > reg will be the target register (AX .. DI), and mod and r/m will select > something like a direct address, a register or a combination like > BP+DI+ofs (I won't copy the table). A multiplier is not mentioned there. In 32 bit mode on the 386 and above, a two byte version of the "mod reg r/m" is possible which contains the scaling field ... On the 386, using a second register in the ea calculation costs another cycle. -- Cheers, Stephen Rothwell [email protected] http://www.canb.auug.org.au/~sfr/
Attachment:
pgp7tt9ti3voB.pgp
Description: PGP signature
- References:
- Re: .../asm-i386/bitops.h performance improvements
- From: Bodo Eggert <[email protected]>
- Re: .../asm-i386/bitops.h performance improvements
- From: "Maciej W. Rozycki" <[email protected]>
- Re: .../asm-i386/bitops.h performance improvements
- From: "Richard B. Johnson" <[email protected]>
- Re: .../asm-i386/bitops.h performance improvements
- From: "Maciej W. Rozycki" <[email protected]>
- Re: .../asm-i386/bitops.h performance improvements
- From: Bodo Eggert <[email protected]>
- Re: .../asm-i386/bitops.h performance improvements
- Prev by Date: Re: [RCF] Linux memory error handling
- Next by Date: [PATCH linux-2.6.12-rc6-mm1] blk: kill elevator_global_init()
- Previous by thread: Re: .../asm-i386/bitops.h performance improvements
- Next by thread: Re: .../asm-i386/bitops.h performance improvements
- Index(es):