Keil™, An ARM® Company

Technical Support

C166: DYNAMICUSRSTK DIRECTIVE


Information in this article applies to:

  • C166 Version 4.06

QUESTION

What does the C166 Compiler DYNAMICUSRSTK directive do?

ANSWER

The DYNAMICUSRSTK directive, abbreviated DU, informs the C166 compiler that your program modifies the user stack area. This directive is useful for developers who create real-time operating systems that change the user stack area.

When you use this directive, it is possible to have a 16KB user stack for each task. Without this directive, the entire user stack must reside in the NDATA class which is limited to a maximum of 64KB.

To use this directive, you must specify it on the C166 command line or specify it with #pragma. For example:

#pragma dynamicusrstk

SEE ALSO

FORUM THREADS

The following Discussion Forum threads may provide information related to this topic.

Last Reviewed: Thursday, September 21, 2000


Did this article provide the answer you needed?
 
Yes
No
Not Sure