# webMARS: A Browser-Based MIPS Simulator with a Built-in C Compiler

Original title: My web version of Mars MIPS, now have builtin C compiler

> Hacker News story 49047516 · language: en · submitted 2026-07-25
> Web version: https://zeli.app/story/49047516
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 40 · by [nenepbl](<https://news.ycombinator.com/user?id=nenepbl>) · 💬 9
[original](<https://webmars.nfiles.top/>) · [HN discussion](<https://news.ycombinator.com/item?id=49047516>)

## Summary

I have launched webMARS, a fully functional MIPS simulator that runs directly in your browser. This tool allows you to write, compile, and execute assembly code without any local installation. The latest update includes a built-in Mini-C compiler, enabling you to compile C programs directly into MIPS assembly within the same interface. The simulator provides a comprehensive view of registers, memory segments, and execution steps, making it an accessible platform for learning computer architecture.

## Key quote

> Now have builtin C compiler

## HN discussion (9 comments)

### [all2](<https://news.ycombinator.com/item?id=49049220>)

> From the git repo:
>
> webMARS is a browser implementation of MARS MIPS 4.5: editor, assembler, simulator, help system, and classic MARS tools in a single web UI.
>
> Overview
>
> \- Single-page IDE for editing, assembling, running, stepping, backstepping, and debugging MIPS programs.
>
> \- Multi-window desktop/mobile UI with registers, text/data segments, labels, messages, Run I/O, and tool windows.
>
> \- Built-in help system with localized pages and embedded reference material.
>
> \- Persistent browser workspace for files, session restore, settings, and tool state.
>
> \- Single JavaScript assembler and simulator core, with no native runtime dependency.
>
> And from [0]:
>
> MARS is a lightweight interactive development environment for programming in MIPS assembly language, intended for educational-level use with Patterson and Hennessy's Computer Organization and Design.
>
> \---
>
> To run the demo program:
>
> 1. Run > Compile
>
> 1a. In the popup window select 'Open ASM as new file'
>
> 2. Run > Assemble, context will change to the 'Execute' tab.
>
> 3. Click the little 'Go' button near top-center.
>
> 4. ???
>
> 5. Profit!
>
> \---
>
> [0] https://computerscience.missouristate.edu/mars-mips-simulato...

### [vkaku](<https://news.ycombinator.com/item?id=49049229>)

> Very nifty! Looks amazing ... :) I love the Netbeans ish style UI

### [pjmlp](<https://news.ycombinator.com/item?id=49050621>)

> Looks quite well done, congrats.

---

## Cite

- Page: https://zeli.app/story/49047516
- Date: 2026-07-25
- Source: webmars.nfiles.top (https://webmars.nfiles.top/)
- Hacker News: https://news.ycombinator.com/item?id=49047516

## Other languages

- zh: https://zeli.app/zh/story/49047516 · markdown: https://zeli.app/zh/story/49047516.md
- ja: https://zeli.app/ja/story/49047516 · markdown: https://zeli.app/ja/story/49047516.md
- ko: https://zeli.app/ko/story/49047516 · markdown: https://zeli.app/ko/story/49047516.md
- de: https://zeli.app/de/story/49047516 · markdown: https://zeli.app/de/story/49047516.md
- es: https://zeli.app/es/story/49047516 · markdown: https://zeli.app/es/story/49047516.md
