| Order | Example | Code (click to load) | |
|---|---|---|---|
| 1 | Basic use of arithmetic and logic instructions | RISC-V32 | MIPS32 |
| 2 | While/For translated in assembly | RISC-V32 | MIPS32 |
| 3 | If-Then and If-Then-Else translated in assembly | RISC-V32 | MIPS32 |
| Order | Example | Code (click to load) | |
|---|---|---|---|
| 4 | Split a IEEE754 floating point value into its parts (sign, exponent, mantissa) | RISC-V32 | MIPS32 |
| 5 | Given a vector, compute the sum of its elements | RISC-V32 | MIPS32 |
| 6 | Matrix: Count the zero elements in a matrix of integer values | RISC-V32 | MIPS32 |
| 7 | Function call: Factorial | RISC-V32 | MIPS32 |
| Order | Example | Code (click to load) | |
|---|---|---|---|
| 8 | I/O device: Led matrix | RISC-V32 | MIPS32 |
| 9 | System events: Floating point exception, system call, and an interrupt | RISC-V32 | MIPS32 |
| 10 | Round-Robin: Two threads in a round-robin fashion | RISC-V32 | MIPS32 |