# `frrm`

[RISC-V Documentation](https://asm-editor.specy.app/documentation/risc-v.md) › [Instructions](https://asm-editor.specy.app/documentation/risc-v/instruction.md)

Web page: https://asm-editor.specy.app/documentation/risc-v/instruction/frrm

**Read FP rounding mode** · Pseudo-instruction

Category: Floating point

Reads the FP rounding mode into a register.

[RISC-V manual: csrrs](https://docs.riscv.org/reference/isa/v20260120/unpriv/zicsr.html#norm:csrrs_op)

## Forms

- `frrm t1`
  - `frrm t1` → `csrrs t1, frm, zero`

## Operands

- `t1`: Any integer register, `x0` to `x31`, or its named alias, such as `zero`, `t0` or `t6`.

## Example

```riscv
# Initialize frm, then use frrm to read its old value or update it.
.text
li t3, 0
csrw t3, frm
frrm t1
# t1=0 because frm was cleared immediately above.
```
