Freedom Studio report error with s0 write

In .S file the register S0 [ FP] is saved on stack at the function entry and restored at the exit.
In Freedom Studio with Qemu stepping the instruction “ld s0,0(a0)” give an error.
a0 pointer is valid pointer. Replacing s0 by s1 do not given this error.

Why ?

In Freedom Studio with Qemu stepping the instruction “ld s0,0(a0)” give an error

What’s the error?

Deleted the .S source where this happen. Trying to reproduce the assembly with “ld s0,0(a0)” but now there is no error. My apologies for the disturber in this forum.