cnlohr/mini-rv32ima
View on GitHub ↗ ★ 2,195 C
A tiny C header-only risc-v emulator.
7 mentions on Hacker News by 7 people: 1 story, 6 comments · first 2022-11-29 · latest 2025-12-13
20082026
-
…Wrapper over this other project which is the one implementing the instruction set itself: https://github.com/cnlohr/mini-rv32ima Kudos to both projects.
comment by psanchez · 2025-12-13 · in Show HN: Tiny VM sandbox in C with apps in Rust, C and Zig -
…valid LORA frames with clever use of aliasing [3]. [1] https://github.com/cnlohr/ch32v003fun [2] https://github.com/cnlohr/mini-rv32ima [3] https://www.youtube.com/watch?v=eIdHBDSQHyw
comment by donquichotte · 2024-09-23 · in Rawdrawandroid – Build Android apps without any Java, in C and Make -
It does emulate risc-v that runs Linux, so why not call it a Linux emulator? Though https://github.com/cnlohr/mini-rv32ima is indeed impressively small. Here's the dispatch switch-case: https://github.com/cnlohr/mini-rv32ima/blob/eeeaaa0609…
comment by _flux · 2024-01-19 · in Driver hack lets you run Linux after Windows BSODs, no reboot required -
https://github.com/cnlohr/mini-rv32ima
comment by genpfault · 2023-07-15 · in The Uxn Ecosystem -
Not GP, but this might scratch your itch https://github.com/cnlohr/mini-rv32ima
comment by Retr0id · 2023-04-14 · in Zylin ZPU: 32 bit CPU with GCC toolchain -
So is this, even more so in my taste: https://github.com/cnlohr/mini-rv32ima/blob/master/mini-rv32... A RISC-V emulator in one include file.
comment by actionfromafar · 2023-03-03 · in RVVM – The RISC-V Virtual Machine