ARM Technical Support Knowledge Articles

GETTING THE CODE BANK OF A FUNCTION

Applies to: C51 C Compiler

Answer


Information in this article applies to:


QUESTION

Is there a way to get the bank number where a function is located at run time?

ANSWER

Yes. However, you must create an assembler function that returns the bank number. Refer to the following knowledgebase article for more information on obtaining the current code bank.

Article last edited on: 2008-04-06 19:45:19

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