[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Pgubook-readers] about chapter 3: addressing modes
From: |
Jonathan Bartlett |
Subject: |
Re: [Pgubook-readers] about chapter 3: addressing modes |
Date: |
Tue, 18 Oct 2005 09:30:44 -0700 (PDT) |
> FINAL ADDRESS = ADDRESS_OR_OFFSET + %BASE_OR_OFFSET +
> MULTIPLIER * %INIDEX
>
> ADDRESS_OR_OFFSET and MULTIPLIER must both be
> constants"
>
> In register addressing mode, for example movl $11,
> %eax, the register %eax is used as ADDRESS_OR_OFFSET.
No, it is register addressing mode, which means that the above calculation
does not apply. The value goes into the register itself, as opposed to
addressable main memory.
Jon