ARM Technical Support Knowledge Articles

SPECIFYING WHICH REGISTER BANKS ARE USED

Applies to: A51 Macro Assembler

Answer


Information in this article applies to:


QUESTION

How do I specify the register banks that I've used in my assembler files?

ANSWER

The REGISTERBANK assembler directive allows you to specify which register banks are used. For example:

a51 mycode.a51 REGISTERBANK(2)

This tells the linker that you've used register bank 2 in your assembler module. The linker reserved register bank 2 and doesn't use that memory area for general purpose memory.

MORE INFORMATION

Article last edited on: 2005-07-18 17:07:07

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