This is the assembler for the XPLD project.
An assembler reads a source file and outputs a binary that you can then load in the computer.
You need Python 3.7 or better to use this one.
Syntax:
python .\xpld.assembler.py [source file.xpld] [destination file.bin]
In the "examples" directory you'll find:
- kernal.xpld: it's the kernal (aka "BIOS") file that XPLD uses at boot
- aoc01.xpld: it's a program that solves Advent of Code's problem 1/2020 (Advent of Code is a well known programming contest, see https://adventofcode.com/)
- maze.xpld: a simple program that draws a random "maze" in XPLD mode0
- pong.xpld: an arkanoid-style game to say goodbye to 2020
- tracker.xpld: a music tracker (program to compose computer music)