First working version of standalone Moxie C simulator.

Copied from Anthony Green's GDB Moxie sim.

Usage:
moxie-rtems-objcopy -O binary nethack tst.bin
./sim tst.bin