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).
| 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)}} |