The assignment was to write a virtual machine. We were given a very basic instruction set, and were supposed to use C arrays to implement the stack and registers. But I got bored, so now it compiles it into x86 assembly, drops it into memory, and executes it.