Skip to content

The simulator

x86 CPU simulator

Write C, compile it to x86 assembly in your browser, and step through every instruction: registers, flags, stack, heap, micro-operations and the system bus.
C source · click a line number for a breakpoint
  1. int main() {
  2. int a = 5;
  3. int b = 3;
  4. int c = a + b;
  5. return c;
  6. }
step 0
Loading emulator…
Your program as you wrote it: the current line, its variables by name, and its output.