Generates a warning if the user specifies an inline assembly instruction which modifies the SP by a run-time dependent amount.
#pragma check_inline_sp_effects on | off | reset
If this pragma is not specified off, instructions which modify the SP by a run-time dependent amount are ignored. In this case, stack-based references may be silently wrong. This pragma is added for compatibility with existing code which may have run-time modifications of the SP already. However, known compile times inconsistencies in SP modifications are always flagged as errors, since the SP must be correct to return from functions.
This pragma does not correspond to any panel setting in the Warnings panel. To check this setting, use __option (check_inline_sp_effects), described in Checking Pragma Settings. By default, this pragma is disabled.