Skip to main content

IAR Embedded Workbench for RL78 5.20

bank

In this section:
Syntax
#pragma bank=bank_number
Parameters

bank_number

A constant integer expression that denotes one of the register banks 0–3.

Description

Use this pragma directive to declare an interrupt function that switches to another register bank before starting the execution of the function. The #pragma bank directive controls the register bank number (0–3) of the immediately following interrupt function.