C To Assembly Compiler And Interpreter

  • home
  • micro c
  • hypothetical asm
  • about

C to assembly compiler and assembly code interpreter.

Input micro-C code

See here what our compiler can and cannot (e.g. if and while loops are supported, system output (scanf, printf) and for loops are not).

compile Load example
  • Simple function
  • Pointers
  • Arrays
  • Swap function
  • Recursive function
interprete Show instruction description {{cpu.asmcode.findLine(cpu.instructionPointer).line}} {{cpu.asmcode.findLine(cpu.instructionPointer).description.description}} execute restart binary decimal hexa
stack
{{location.address}} {{showOutput(location.value)}}
stack registers
Base pointer %14 {{cpu.stack.bp}}
Stack pointer %15 {{cpu.stack.sp}}
memory
{{location.address}} {{showOutput(location.value)}}
global variables
{{location.address}} {{location.name}} {{showOutput(location.value)}}
none defined
flags
ZF PF SF CF OF
{{value}}
registers
%{{$index}} {{showOutput(value)}}

Sitemap.

Từ khóa » Chuyển Code C Sang Assembly