Share via


Elements of the SHx __asm Block

Inline assembly instructions can be mixed with C or C++ statements. As such, they can refer to variables by name and use many elements of those languages.

The following list shows some of the language elements __asm statements can use.

  • Symbols and Labels
  • Integer constants
  • Macros and preprocessor directives
  • Comments
  • Parameter passing

See Also

The __asm Keyword in SHx Inline Assembly | __asm Restrictions in SHx Inline Assembly | Constants in SHx Inline Assembly | Symbols and Labels in SHx Inline Assembly | SHx Inline Assembly Parameters | SH-4 Mode Bits | Branching in SHx Inline Assembly

 Last updated on Thursday, April 08, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.