Put definitions in shared header, cleaned up emulator.c, began work on assembler