Skip to content

enthusi/mandelbrot_riscv_assembler

Repository files navigation

bare metal mandelbrot RV32

A simple example of a mandelbrot fractal for RISCV RV32I CPUs in assembly language.
screenshot

mandelbrot.asm is a bare metal assembly example for the Longan Nano.
It computes a standard mandelbrot fractal in fixpoint math on the 160x80 LCD.
size 918 Bytes (1234 Bytes without C extension).

The code assembles well with the wonderful bronzebeard.
Another bare metal example is here: lz4 decoder.

usage

make
make flash

For the joystick controllable version use

make joystick

Joycontrolled mandelbrot

Licensed under the 3-Clause BSD License Copyright 2021, Martin Wendt