# `fmv.w.x`

[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/fmv.w.x

**Move integer bits to FP register** · Pseudo-instruction

Category: Floating point

Copies the raw low 32 bits of the second register into the first without converting them.

Also written as: `fmv.s.x`

[RISC-V manual: fmv.s.x](https://docs.riscv.org/reference/isa/v20260120/unpriv/f-st-ext.html#norm:fmv-w-x_op)

## Forms

- `fmv.w.x f1, t1`
  - `fmv.w.x f1, t1` → `fmv.s.x f1, t1`

## Operands

- `f1`: Any floating-point register, `f0` to `f31`, or its named alias, such as `ft0`, `fa0` or `ft11`.
- `t1`: Any integer register, `x0` to `x31`, or its named alias, such as `zero`, `t0` or `t6`.

## Example

```riscv
# The source bits encode single 1.0; fmv.w.x leaves the same 1.0 bits in the destination.
.text
li t0, 1065353216
fmv.w.x f1, t0
```
