enthusi / mandelbrot_riscv_assembler

An example in bare metal RV32 assembly for the longan nano board

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

An example in bare metal RV32 assembly for the longan nano board

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Assembly 99.0%Language:Makefile 1.0%