Miscellaneous-NoAssemblerΒΆ
Do not use the assembler
Inline assembler is non-portable, and may use different syntax for different compilers even on the same target platform.When choosing specific CPU instructions, the compiler's intrinsic functions should be preferred over inline assembler.
If the use of assembly language is necessary, consider putting the assembly code into separate
.asm files.
Possible Messages
Key |
Text |
Severity |
Disabled |
|---|---|---|---|
use_of_assembler |
Use of assembler. |
None |
False |
Options
This rule shares the following common options: exclude_in_macros, exclude_messages_in_system_headers, excludes, extend_exclude_to_macro_invocations, includes, justification_checker, languages, post_processing, provider, report_at, severity
The following places define options that affect this rule: Stylechecks, Analysis-GlobalOptions
This rule has no individual options.