An emulator for random access machine code