A1 - RISC-V Assembly Programming Assignment
A1 - RISC-V Assembly Programming Assignment
Use the RARS simulator (https://github.com/TheThirdOne/rars) for this assignment. Your task is to write
RISC-V code in RV64I instructions only and execute on the simulator.
Download RARS from here: https://github.com/TheThirdOne/rars/releases/tag/continuous. If you already
have java, RARS will start right away.
Ubuntu command line to start RARS: $ java -jar {RARS jar file}
RARS Video explanation is here:
https://passlab.github.io/ITSC3181/resources/UsingRARS_ITSC3181.mp4
Aliter: You are free to go ahead and try and use any of the other RISC-V simulators to write and execute
these programs. Please note that the ecall conventions (system call conventions) will be different for each
simulator. List of RISC-V Simulators - https://riscv.org/exchange/software/.
Submission Notes:
1. Create 1 directory per Q. In each directory put code, screenshots, any other. Include a README
containing the group members and the code contributions of each. Pack all the directories and the
README in a Zip file and upload before the deadline.
2. A team has 2 members. Both members have to submit the same ZIP file.