private void Inst_Lw(MipsInstruction inst) { Int64 address = ComputeAddress(inst); if ((address & 3) != 0) { CauseException = ExceptionCode.AddressErrorLoad; } else { if (!MipsState.Operating64BitMode) { MipsState.WriteGPR32Signed(inst.Rt, DataManipulator.LoadWordSigned(address)); } else { MipsState.WriteGPRSigned(inst.Rt, DataManipulator.LoadWordSigned(address)); } } }