7.5 The asm declaration

7.5.1 Do not use the asm declaration

Use of inline assembly should be avoided since it restricts the portability of the code.

#include <cstdint>
                                       
int32_t foo ()
{
int32_t result;
                 
asm ("");     // @@- Non-Complaint -@@
                 
return result;
}

References

  • HIC++ v3.3 – 13.5

Click here for references