Write control and status register
csrwi
Operands
csr, immVariants
- Write control and status register csrwi fcsr, 100
# Initialize fcsr to 0; csrwi uses immediate 1 and leaves fcsr=1.
.text
li t3, 0
csrw t3, fcsr
csrwi fcsr, 1
csrr t2, fcsr
Write control and status register
# Initialize fcsr to 0; csrwi uses immediate 1 and leaves fcsr=1.
.text
li t3, 0
csrw t3, fcsr
csrwi fcsr, 1
csrr t2, fcsr