ARM Technical Support Knowledge Articles


Applies to: C166 C Compiler


Information in this article applies to:


What does the C166 Compiler DYNAMICUSRSTK directive do?


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


Article last edited on: 2000-09-21 00:00:00

Rate this article

Disagree? Move your mouse over the bar and click

Did you find this article helpful? Yes No

How can we improve this article?

Link to this article
Copyright © 2011 ARM Limited. All rights reserved. External (Open), Non-Confidential