Copyright (C) 2000-2012 |
Whole document tree
8.8.6 Memory ReferencesAn Intel syntax indirect memory reference of the form
is translated into the AT&T syntax
where base and index are the optional 32-bit base and
index registers, disp is the optional displacement, and
scale, taking the values 1, 2, 4, and 8, multiplies index
to calculate the address of the operand. If no scale is
specified, scale is taken to be 1. section specifies the
optional section register for the memory operand, and may override the
default section register (see a 80386 manual for section register
defaults). Note that section overrides in AT&T syntax must have
be preceded by a `%'. If you specify a section override which
coincides with the default section register, Here are some examples of Intel and AT&T style memory references:
Absolute (as opposed to PC relative) call and jump operands must be
prefixed with `*'. If no `*' is specified, Any instruction that has a memory operand must specify its size (byte, word, or long) with an opcode suffix (`b', `w', or `l', respectively).
This document was generated by root on January, 30 2002 using texi2html |