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
- int main() {
- int a = 5;
- int b = 3;
- int c = a + b;
- return c;
- }
step 0
Loading emulator…
Your program as you wrote it: the current line, its variables by name, and its output.