I am using a Cygnal 8051 processor with the Keil compiler. Is there a way to tell the compiler to use the stack for local variables in functions instead of using dedicated memory location ? Thank you for help. Charles
Not for using the hardware stack. You can use the reentrant function attribute to use a software stack. See: http://www.keil.com/support/man/docs/c51/c51_le_reentrantfuncs.htm