RustInline Assembly


Syntax

  • #![feature(asm)] // Enable the asm! macro feature gate
  • asm!(<template> : <output> : <input> : <clobbers> : <options>) // Emit the assembly template provided (e.g. "NOP", "ADD %eax, 4") with the given options.