Guide for using RARS Simulator - mbits-mirafra/computerArchitectureCourse GitHub Wiki
How to use RARS Simulator?
Step 1: Go to Files
click on New
to write a code
Step 2: Go to Settings
and make sure Initialize Program Counter to global 'main' if defined
is checked
Step 3: Write a piece of code in RISC-V Assembly language
Example : addi t1, t2, 5
Step 4: Go to Run
and click Assemble
Step 5: Once you complete step 4
you will be redirected to this screen, that is Execute
section
Step 6: Click on this Run
button
Step 7: You'll see the output in corresponding Registers
section and Data Segment(Memory)
section