bank
In this section:
Syntax
#pragmabank=bank_number
Parameters
| The number of one of the register banks (an integer) |
Description
Use this pragma directive with an interrupt function to save the values of registers to the specified register bank at the start of the interrupt, and restore them again afterward. The SAVE and RSTR instructions will be used. This pragma directive requires that the compiler option --core=rxv3 has been specified.
Example
#pragma vector=5
#pragma bank=5
__interrupt void myInterrupt()
{
do something here
}