Hi All. Imagine a function that looks like this:
DEFINED_SYMBOL1 type FnName(args) DEFINED_SYMBOL2 { ...; }
type FnName(args) { ...; }
#pragma NOAREGS type FnName(args) reentrant { ...; }
#define DEFINED_SYMBOL2
>#define DEFINED_SYMBOL2 reentrant
#define DEFINED_SYMBOL1 #pragma NOAREGS
View all questions in Keil forum