This program works: main() { return 42; } The disassembler was borrowed from codeflinger, and just modified enough to compile under C++ without warnings. Implemented gsym Implemented a hack verison of li, only works for -256..255 Implemented gjmp