How is the offset written for c.fswsp?
Use a byte offset from 0 through 252 in multiples of 4. offset=16 adds 16 bytes without modifying the base.
RV32FC 16-bit CSS floating-point store, transferring 32 bits; base is x2/sp.
The 5-bit fs2 field selects f0–f31; the base is fixed x2/sp. f0 is not integer zero.
offset is already an unsigned byte offset: 0–252, in multiples of 4, with 2 implied zero low bits. Do not scale it again.
RV32FC, floating-point state enabled, access permitted; store the low 32 source bits, preserving NaN payloads and leaving source and base unchanged.
Address is base plus offset, wrapping at XLEN. Natural alignment raises no address-misaligned exception; misaligned outcomes are EEI-defined and an exception is not shown as a completed access.
RV32FC: add an unsigned byte offset (0–252, multiples of 4) to x2/sp. On completion, store the low 32 bits of fs2; source and base stay unchanged.
Shows only manual-defined 16-bit fields, operands, and ISA-visible results; it does not model a pipeline, cache, timing, or an implementation's memory-fault handling.
RV32FC; floating-point state enabled, ordinary address calculation (no address-transforming extensions), and memory bits already assembled using the environment's byte order.
The store transfers 32 bits; with a wider FLEN, FSW transfers the low 32 bits and ignores upper bits, while FSD transfers the low 64 bits. Transfers do not modify NaN payloads.
Naturally aligned accesses do not raise an address-misaligned exception; whether a misaligned access completes or raises an address-misaligned/access-fault exception is EEI-defined. This control displays only the selected outcome branch.
base = x2/sp; fs2=00000 -> f0; uimm=4 × 4 = 16 bytes (assembly offset)
RV32FC: add an unsigned byte offset (0–252, multiples of 4) to x2/sp. On completion, store the low 32 bits of fs2; source and base stay unchanged.
RV32FC, floating-point state enabled, sp=0x1000, low 32 bits of f0=0x3f800000, access completes: c.fswsp f0, 16(sp) writes this pattern to mem32[0x1010], leaving f0 and sp unchanged.
Use a byte offset from 0 through 252 in multiples of 4. offset=16 adds 16 bytes without modifying the base.
This page uses RV32FC, with floating-point state enabled and memory access permitted. C+F implies Zcf on RV32; Zcf depends on Zca and F.