A menu-driven RISC-V assembly program implementing a calculator, Fibonacci series generator, and a simple quiz game.
This project is a menu-driven program written in RISC-V Assembly that demonstrates multiple functionalities within a single executable:
- Basic Calculator – perform addition, subtraction, multiplication, and division
- Fibonacci Sequence Generator – compute and display the first
nterms - Quiz Game – multiple-choice questions with scoring
- Menu-driven interface: easy navigation between features
- Arithmetic operations: implemented directly in assembly
- Iterative algorithms: for example, Fibonacci sequence generation
- Interactive logic: quiz mode with score tracking
- Returns to the menu after each operation until exit
- RISC-V Assembly
- RARS (RISC-V Assembler and Runtime Simulator) – chosen for its simplicity, educational focus, and ease of debugging.
The repository includes the exact
RARS.jarfile used, so you can run the program directly.
| File | Description |
|---|---|
Multifunctional_prog_RISCV.asm |
Main RISC-V assembly source code |
Project_Report.pdf |
Full project report with methodology, theory, and expected results |
RARS.jar |
RISC-V simulator executable used to build and run the program |
- Make sure you have Java installed on your system.
- Download or clone this repository.
- Launch the RARS simulator:
java -jar RARS.jar