SharpRISCV is an implementation of RISC-V assembly in C#. First RISC V Assembly that build windows executable file.
Write RISC-V ASM code in your browser
You can use RISC64-VM to run elf file on x86-x64 pc on linux and windows.
SharpRISCV.exe -i file.s -o out.o -p bin
SharpRISCV.exe -i file.s -o out.exe -p pe
SharpRISCV.exe -i file.s -o console
SharpRISCV.exe -i file.s -o out.o -p elf
SharpRISCV.exe -i file.s -o out.o -p hex
- R Type
- U Type
- I Type
- B Type
- I Type
- S Type
- J Type
- Gererate Console output.
- Lable Support.
- Read form file (*.s).
- Ignore Comments
- Generate PE (Even windows cannot support RISC V) AKA exe file - Virustotal's Details
- Generate Hex (FOR MCUs)
- Generate Hex (FOR MCUs) on Web Browser
- Generate Windows PE on Web Browser - Virustotal's Details
- Generate ELF - Virustotal's Details
- Generate Xilinx
- Generate Altera
- Generate Verilog
- .text
- .data
- .bss
- .space
- .string and .asciz
- .word
- .%hi
- .%lo
- RISC-V Instruction Formats
- The RISC-V Instruction Set Manual PDF Page 116
- RISC-V ASSEMBLY LANGUAGE Programmer Manual
- RISC-V Instruction Encoder/Decoder
- PE file format - Introduction
- Intel HEX
- PE-bear for inspecting Windows PE (Portable Executable) files. - Download from here; I have added RISC-V machine code detection
- ELF file viewer/editor for Windows, Linux and MacOS