RISC-V assembly programs and performance analysis reports for the Computer Organization & Architecture (COA) course (PBCST404).
Each experiment includes the assembly source (.s), assembled binary (.bin), equivalent C program, a detailed report, and Ripes simulator screenshots.
Ahammed Halim Β· Anakha Shaju Β· Aravind Lal Β· Madhav S
Finds the maximum and minimum values in an integer array. Includes performance comparison between Single Cycle and 5-Stage Pipelined RISC-V processors.
| File | Description |
|---|---|
Array-max-min.s |
RISC-V assembly source |
Array-max-min.bin |
Assembled binary |
array_max_min.c |
Equivalent C program |
README.md |
Full performance analysis report with screenshots |
| Tool | Purpose |
|---|---|
| Ripes | RISC-V assembler, simulator & pipeline visualizer β used to write, assemble, execute, and analyze all programs |
| Git | Version control |
- Download and install Ripes
- Open Ripes β Editor tab
- Load or paste any
.sfile from this repo - Click Assemble
- Use the Processor tab to step through execution and inspect registers & memory
- Switch between Single Cycle and 5-Stage Pipelined processors to compare performance
This repository is for academic/educational purposes only as part of university COA lab coursework.



