SPRU514Z July 2001 – October 2023 SM320F28335-EP
Within an assembly file, post-link optimizations can be disabled or enabled by using two specially formatted comment statements:
;//NOPLINK//
;//PLINK//
Assembly statements following the NOPLINK comment are not optimized. Post-link optimization can be reenabled using the //PLINK// comment.
The PLINK and NOPLINK comment format is not case sensitive. There can be white space between the semicolon and PLINK delimiter. The PLINK and NOPLINK comments must appear on a separate line, alone, and must begin in column 1. For example:
; //PLINK//