Open main menu

CDOT Wiki β

Changes

Inline Assembly Language

252 bytes added, 00:01, 28 January 2014
no edit summary
If memory is altered by the asm code, the string "memory" should be added to the clobber list. In most cases, the <code>volatile</code> keyword should also be addded.
 
== Resources ==
 
* [http://gcc.gnu.org/onlinedocs/gcc-4.8.2/gcc/Extended-Asm.html GNU Assembler Manual]
** Specifically, see the [http://gcc.gnu.org/onlinedocs/gcc-4.8.2/gcc/Extended-Asm.html Assembler Instructions with C Expression Operands] section