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/)
Its been a while since the last update so here's a new stable version. Improvements: - Color options for the editor that allow dark themes (#67, #99). Thanks to @XLPhere for adding this. - Basic representation of jumps is now more intuitive (#89). - Added an example program for the game mastermind (#109). Thanks to @EmmanuelLazard for adding this. - More psuedo-instructions (#122, #144). - There is an option to use the main assembly file for the CWD (#123). Thanks to @giancarlopernudisegura for adding this. - CSRs are now printable from the CLI (#136). - Better error message for out of range immediates (#139). - `.global` is now an alias for `.globl` (#152). - Tab while selecting multiple lines now indents all of the lines (#168). Thanks to @Wakeful-Cloud for adding this. - Added file open support (#169). Thanks to @Wakeful-Cloud for adding this. Bugfixes: - InstructionCounter now also counts B and J type instructions and InstructionStatist...