Your program should read C source code from a file, and write corresponding RISC-V assembly to another file. If you wish to use C++, then a basic framework for building your compiler has been provided ...
Compilers often translate source code for a high-level language, such as C++, to object code for the current computer architecture, such as Intel x64. The object modules produced from multiple ...