Next Step on CPU
The C Program Compilation of RISC-V Angel After weeks of debugging the 32-bit RISC-V engine, discussion with my supervisor, and searching over the internet, I finally found out the problem. The problem is with the stack pointer, the RISC-V Angel is not designed in the way of initializing their own stack pointer. Therefore, I have to initialize the stack pointer manually or to create a new crt0.o that initialize the stack pointer to solve the problem. Fortunately, the manual initialization Read more…