Skip to content

Latest commit

 

History

History
19 lines (14 loc) · 952 Bytes

File metadata and controls

19 lines (14 loc) · 952 Bytes

Random Fun Code

Side projects that did not belong anywhere else: a compiler for a small dynamic language, and two low-level exercises in assembly.

Project Language What it is
alpha-compiler C++, flex, bison A compiler for the alpha language and the stack VM that runs its bytecode
riscv-array RISC-V assembly Reads eight integers, prints each multiplied by six
mips-linked-list MIPS assembly Builds a heap-allocated linked list and filters it by a threshold

Each directory has its own README with the details.

A note on the assembly

These two programs target different architectures, which the original file names did not make clear. riscv-array is RV32I and runs under RARS or Venus. mips-linked-list is MIPS32 and runs under MARS or SPIM — it uses $t/$s registers, syscall and .asciiz, none of which are RISC-V.