P8 CPU Emulator - Java