Linux · Developer Tools
RARS
RISC-V Assembler and Runtime Simulator
by Benjamin Landers
Official site: flathub.org
About RARS
RARS, the RISC-V Assembler, Simulator, and Runtime, will assemble and simulate the execution
of RISC-V assembly language programs. Its primary goal is to be an effective development
environment for people getting started with RISC-V.
Features:
- RISC-V IMFDN Base (riscv32 and riscv64)
- Several system calls that match behaviour from MARS or SPIKE.
- Support for debugging using breakpoints and/or ebreak
- Side by side comparison from psuedo-instruction to machine code with intermediate steps
- Multifile assembly using either files open or a directory
Environment Variables:
- RARS_JAVA (Default: none): Passes arguments directly to the Java command (Will override other environment variables)
- RARS_SCALE (Default: Screen width / 1920): Sets the sun.java2d.uiScale property (See documentation at https://news.kynosarges.org/2019/03/24/swing-high-dpi-properties/)
How to install RARS
- Click Download — the developer's official website opens in a new tab.
- Download the latest version there and run it. Choose Custom/Advanced where offered, and skip any bundled extras.
- Prefer the command line? With Flatpak you can install and update it with: flatpak install flathub io.github.TheThirdOne.rars
- Open RARS once it finishes installing.
Frequently asked questions
Is RARS free to download?
Yes. The Download button sends you to flathub.org, the developer's official site, where RARS is available to download. Flatnic doesn't host or modify any files.
How do I install RARS from the command line?
With Flatpak, run: flatpak install flathub io.github.TheThirdOne.rars. This installs it from the official source and keeps it updated.
Is RARS safe?
RARS downloads directly from the developer. As always, scan the installer with your antivirus and choose Custom setup to skip any bundled extras.