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 http://docs.sun.com/app/docs/doc/817-5477?l=en. 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 options. -- 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 http://sourceware.org/bugzilla/show_bug.cgi?id=10775 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils