Skip to main content

IAR Embedded Workbench for Arm 9.70.x

__stackless

In this section:
Syntax

See Syntax for object attributes.

Description

The __stackless keyword declares a function that can be called without a working stack.

Warning

A function declared __stackless violates the calling convention in such a way that it is not possible to return from it. However, the compiler cannot reliably detect if the function returns and will not issue an error if it does.

Example
__stackless void start_application(void);