scc is amazing, like all other compiler recommendations from suckless. Can you help with making a linear RV32I code from C code? I think it should be very similar to arm. Currently, jump instructions have different notation in ganyantra like loop is not detected, etc.
I am unable to understand how linking and loading happens as they seem board specific. Update: bitgen.sh can now help with generating a final binary file that is to be written on flash. Fixed minor bugs. On 9 जून 2025 7:53:19 pm IST, "Roberto E. Vargas Caballero" <k...@shike2.net> wrote: >Hi, > >On Sat, Jun 07, 2025 at 02:36:07PM +0530, Sagar Acharya wrote: >> I have made this program ganyantra.c which can convert a program named >> program.s to binary. Here program.s is a sequential assembly like >> >> LUI x1, 0x23000 >> ADDI x2, x1, 0x345 >> ... >> SB x1, x4, 40 >> >> It has all RV32IM instructions and following suckless principles, it is easy >> to use. Soon, one can place various such binaries at various memory >> locations and straightaway flash it to create bootloader + OS for RV32I. >> >> https://notabug.org/sagaracharya/dcc > >Interesting. If you are interested in compilers, you can help me a bit with >scc [1]. > >Regards, > >[1] https://www.simple-cc.org > =============== Thanking you Sagar Acharya https://whitelist.co.in