29.2. x86 addressing modes

Several x86 instructions can calculate addresses of a complex form:

s:a(b, c, d)

which expands to:

a + b + c * d

Where the instruction encoding allows for:

The common compiler usage is:

  • a: base pointer

  • b: array offset

  • c and d: struct offset

Bibliography: