[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gas/10775] New: x86 64 documentation addenda

From: konrad dot schwarz at siemens dot com
Subject: [Bug gas/10775] New: x86 64 documentation addenda
Date: 14 Oct 2009 11:41:58 -0000

The following information is lacking from the GAS manual:

In node (as.info)i386-Mnemonics, add at the end of 9.13.4,

In 64-bit mode, `movabs' is the form of the mov instruction which loads
a 64-bit literal into a register.

The AT&T/Unixware assembler is documented at
http://docs.sun.com/app/docs/doc/802-1948?l=en&q=assembler+manual and

In node (as.info)i386-Regs, before "* the 8 debug registers:" add
* The processor control register `%cr8'.

At the end of that node, add

The 80386 flags register is not supported as a distinct register.  Instead, the
instructions `PUSH [ER]?FLAGS' and `POP [EA]?FLAGS' are encoded as `pushf[wlq]'
and `popf[wlq]'.

After node (as.info)i386-16bit, add a new section:

9.13.13 Writing 64-bit Code
The `.code64' directive causes the assembler to emit AMD64 ``long mode''
(64-bit) code.  As mentioned above, the `.code32' directive switches to 32-bit
code.  Which mode the assembler is in originally depends on the --32 and --64

           Summary: x86 64 documentation addenda
           Product: binutils
           Version: 2.19
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gas
        AssignedTo: unassigned at sources dot redhat dot com
        ReportedBy: konrad dot schwarz at siemens dot com
                CC: bug-binutils at gnu dot org


------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]