AutosarC++17_10-A7.4.1ΒΆ

The asm declaration shall not be used

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