Skip to main content

IAR Embedded Workbench for Arm 9.70.x

svc_number

In this section:
Syntax
#pragma svc_number=number
Parameters

number

The software call number

Description

Use this pragma directive together with the __svc extended keyword. It is used as an argument to the generated SVC assembler instruction, and is used for selecting one software interrupt function in a system containing several such functions.

Example
#pragma svc_number=17
See also

Software interrupts and Exception functions for 64-bit mode.