OV (Overflow) flag Set/Clear Instructions

__STATIC_FORCEINLINE void __RV_CLROV (void)
__STATIC_FORCEINLINE unsigned long __RV_RDOV (void)
group NMSIS_Core_DSP_Intrinsic_OV_FLAG_SC

OV (Overflow) flag Set/Clear Instructions.

The following table lists the user instructions related to Overflow (OV) flag manipulation. there are 2 OV (Overflow) flag Set/Clear Instructions

Functions

__STATIC_FORCEINLINE void __RV_CLROV (void)

CLROV (Clear OV flag)

Type: DSP

Syntax:

CLROV # pseudo mnemonic

Purpose

:

This pseudo instruction is an alias to

CSRRCI x0, ucode, 1 instruction.

__STATIC_FORCEINLINE unsigned long __RV_RDOV (void)

RDOV (Read OV flag)

Type: DSP

Syntax:

RDOV Rd  # pseudo mnemonic

Purpose

:

This pseudo instruction is an alias to

CSRR Rd, ucode instruction which maps to the real instruction of CSRRS Rd, ucode, x0.

Returns

value stored in unsigned long type