z4_mtlr_se_rfi_errata_26553

Ensures that there are at least three instructions between the mtlr and the se_rfi .

Syntax
#pragma z4_mtlr_se_rfi_errata_26553 on | off | reset
  
Remarks

When the pragma is on and you are using either __declspec(interrupt) or #pragma interrupt , the compiler ensures that there are at least three instructions between the mtlr and the se_rfi .

If your interrupt handler is written in function level assembler, compiler support only happens if you do not use the nofralloc directive. Standalone assembler does not include this support.

The default value for this pragma is off .

Note: Other forms of the se_rfi such as se_rfci and se_rfdi are also supported.