private void Xor16Imm16(Reg16 reg) { registers.Set(reg, (ushort)(registers.Get(reg) ^ BinaryHelper.Read16Bit(_memory, _ip + 1))); _ip += 3; }
private ushort GetUInt16FromMemory(int address) { return(BinaryHelper.Read16Bit(_memory, address)); }