# SVC_Div

## C Specification

      #include <nitro/os/common/systemCall.h>

      s32 SVC_Div(
          s32    numer ,
          s32    denom );

## Description

Performs the division operation with the given arguments and returns the result

This function performs the calculation: `numer` / `denom`

At the assembler level, it is restored from this function as follows:

`r0` = numer / denom ,
`r1` = numer % denom ,
`r3` = | numer / denom | .

Because the code size is suppressed, it is not high speed.

## Arguments

`numer` | Numerator of the fraction Indicates the dividend in a division operation.
`denom` | Denominator Indicates the divisor in a division operation.

## Return Values

Returns the result of the division operation.

## See Also

`CP_SetDiv*()`, `SVC_DivRem`

## Revision History

07/20/2004 Initial version