AutosarC++18_03-M7.4.1

All usage of assembler shall be documented

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.

Note

For legal reasons, this rule’s description is not part of the public documentation.