Re: [dev] Assembler for bootloader

2025-06-16 Thread Sagar Acharya
I have updated the repo to my server. Many bugs have been fixed and now it is verified that it can compile all instructions to binary right. You can find the code here. There's a tarball which you can download. More updates in future. On 10 जून 2025 3:43:41 p

Re: [dev] Assembler for bootloader

2025-06-10 Thread Roberto E. Vargas Caballero
Hi, On Tue, Jun 10, 2025 at 03:43:41PM +0530, Sagar Acharya wrote: > scc is amazing, like all other compiler recommendations from suckless. Thank you! > > 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 dif

Re: [dev] Assembler for bootloader

2025-06-10 Thread Sagar Acharya
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

Re: [dev] Assembler for bootloader

2025-06-09 Thread Roberto E. Vargas Caballero
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 in