Skip to content

Exercises

A collection of exercises for practicing RISC-V assembly, from simple arithmetic to more complex programs.

Each exercise presents an assembly program to be traced instruction by instruction. For each step:

  1. Look at the next instruction to be executed and write it in the table along with its PC address
  2. Run that instruction in the simulator
  3. Check which register was modified and record its new value in the corresponding column

Repeat until the program ends

After completing an exercise, use the Save as PDF button to export and keep your answers