ARM Technical Support Knowledge Articles

WHAT'S IN THE ?CO? SEGMENTS?

Applies to: C51 C Compiler

Answer


Information in this article applies to:


QUESTION

I've noticed that there are lots of ?CO?filename segments in my program. What's stored in these segments?

ANSWER

When you create global code variables in your source files, the compiler allocates these to the ?CO? segments. So, if you do not declare any CODE variables in your source files, you will not have ?CO? segments.

Article last edited on: 2001-06-13 00:00:00

Rate this article

[Bad]
|
|
[Good]
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