Baerilog

Baerilog: Compiler

Write · Compile · Run — a C or Python subset to RISC-V or AVR, all in the browser

Source Editor

Behavioral subset: int/char, arrays, pointers, if/while/for, functions & recursion, printf (literal format strings)

memory B
Target:

Console ?
· printf output and program status

Click Compile to generate assembly…

Assembly ?
· Generated instruction listing for the program above — Run executes exactly these instructions, not a separate rendering

run for steps
Compile the program to see its assembly.

Registers

Register file at the current position — a green shows the value the highlighted instruction is about to write

Data Segment ?
· Globals and string constants, from address 0 up. Global arrays live here too.

Compile the program to see the data segment.

Stack ?
· The live stack, from sp up to the top of memory — fp marks the current frame base

rows blank = whole stack; a number pins the view to the top of memory
Compile the program to see the stack.