x86 emulation library