jtauber/dcpu16py — pull request #85 by x3ro (2012-04-18 01:49:18+00:00)
Title: Make sure stuff that couldn't be parsed actually prints an error

Lets take the following example:

IFE [B+J], 0

Trying to compile this currently results in asm.py silently failing
because there is a KeyError when writing to the file. This commit
prevents that by checking if we got valid instructions in o, x and y
and failing if we do not.