|
Technical Support Support Resources Product Information | A251: AVOIDING THE USE OF REGISTER BANK 0
Information in this article applies to:
QUESTIONI am writing an assembly application and do not want register bank 0 to be used at all, because another project residing in my hardware uses it. Whatever I try, register bank 0 is always used. How do I keep register 0 from being used? ANSWER- Copy the file START251.A51 from the \LIB directory into your project directory.
- Add START251.A51 to your project.
- Insert the following at the start of all your source files, including START251.A51:
$REGISTERBANK(1)
This forces your project to use register bank 1 instead of 0. The start up code contained in START251.A51 is always included in your project. However, by creating a copy and adding it to your project, you may customize it as shown in this solution.
MORE INFORMATIONLast Reviewed: Wednesday, August 03, 2005
|
|