Skip to main content

IAR Embedded Workbench for RH850 3.20.x

__syscall

In this section:
Syntax

See Syntax for type attributes used on functions.

Description

Use the __syscall attribute to place an individual function in the syscall table.

Storage

Vector range: 0–255

Example

Declaring a syscall function using table vector 0x25:

#pragma vector=0x25
__syscall void my_syscall_function(int my_int);

If the pragma directive is omitted, the vector will be assigned automatically.

See also

Call table functions.