TGViewer
C++ - Reddit C++ - Reddit @r_cpp · 229 subscribers
Post #24882 24
Bare metal 32 Bit RISC CPU

https://github.com/NaQeEb313/BareMetalRisccpu

Hello Reddit,

I am a 2nd year ECE student, and I have made a 32-bit CPU based on an FSM that works using a multi-cycle approach. I upgraded it from a very basic 8-bit CPU which only had two operations and two registers, just to understand how a CPU works.

Then I improved it by adding a register file, increasing the memory, adding data memory, and also improving the ISA of the CPU.

My goal is to become a low-level (system software) engineer, so my next plan is to build an assembler using C+ + to give instructions to this CPU.

If you find my work interesting, please share your thoughts and suggest more projects that can help me improve my skills in system software.

Also, if you can share any book references, research papers, or articles for building an assembler, that would really help.

Thanks!

https://redd.it/1s6xbrq
@r_cpp
More from @r_cpp
  1. Oct 6, 2026When (Not) to Use alloca() https://voithos.io/articles/when-not-to-use-alloca/ https://red…
  2. Oct 6, 2026MSVC Build Tools Preview updates – September 2026 https://devblogs.microsoft.com/cppblog/m…
  3. Oct 6, 2026I built MrDocs, an open-source C++ reference doc generator on the Clang/LLVM AST. Looking…
  4. Oct 6, 2026WasmBolt — The LLVM Project in your browser https://anutosh21.github.io/WasmBolt/ https://…
  5. Oct 6, 2026How I speed up my overall build times by 4x and incremental builds by 9x for test builds *…
  6. Oct 6, 2026Why do people on Windows mostly choose Visual Studio? https://redd.it/1weku08 @r_cpp
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →