Software › Mini-REPL (UART0)
Mini-REPL (UART0)
demo Open · freely redistributable
An original public-domain (CC0) bare-metal program, hand-authored in RISC-V RV32IMC assembly and assembled to a flat ESP32-C3 image. It brings up UART0, prints a banner and an esp32> prompt, runs a line editor (echo + backspace) and a left-to-right integer expression evaluator over + - * (using the RV32M mul/div for parsing and printing). Type print(2+2) to get 4, 6*7 to get 42, led on / led off to flip the on-board LED (GPIO8), or help. Real RISC-V machine code on the real memory map, so every instruction single-steps in the debugger.
Format: Raw ESP32-C3 flash image (RV32IMC), base64 · By: emulators.org · Licence: Public domain (CC0)