5.20 __no_operation Intrinsic Function

The IAR __no_operation intrinsic function inserts a nop instruction.

Suggested Replacement

There is an MPLAB XC8 macro that performs a similar task.

Use the _NOP() macro.

Caveats

None

Examples

Consider migrating IAR code such as:
__no_operation();
to MPLAB XC8 code similar to:
_NOP();

Further Information

See the Library Functions section in the MPLAB XC8 C Compiler User's Guide for AVR MCUs for more information on this macro.