dev, computing and games

A task in Human Resource Machine.

The idea is to write a program that computes Fibbonacci numbers; the program is comprised of simple assembly-like instructions. The game gives you special bonuses for optimizing for speed or size.

This approach uses loop unrolling. The resulting program is really unwieldy and cumbersome to follow, but outperforms the speed goal by a lot.

February 22nd, 2017 at 11:03 am