SLAU132Y September 2004 – June 2021
The MSP430 C/C++ Compiler supports a __never_executed( ) intrinsic that can be used to assert that a default label in a switch block is never executed. If you assert that a default label is never executed the compiler can generate more efficient code based on the values specified in the case labels within a switch block.