Skip to content

Simulateur de CPU x86

Écrivez du C, compilez-le en assembleur x86 dans votre navigateur et exécutez chaque instruction pas à pas : registres, drapeaux, pile, tas, micro-opérations et bus système.

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. }
generated assembly— ▸ is the next instruction; it maps to the ▸ C line above
  1. mov eax, 5
  2. add eax, 3
  3. imul eax, eax
  4. sub eax, 40
  5. cmp eax, 0
step 0
Loading emulator…