16-bit CPU emulator