Skip to main content

IAR Embedded Workbench for RL78 5.20

__v2_call

In this section:
Syntax

See Syntax for type attributes used on functions.

Description

The __v2_call keyword makes the compiler use the V2 calling convention for the function. This is the default calling convention. The V2 calling convention complies with the RL78 ABI and is required when you link with code produced by tools from other vendors.

This keyword does not affect the bitfield allocation strategy.

Example
__v2_call int func(int arg1, double arg2);
See also

Calling convention.