Basic processor emulator.