MCPcopy Create free account
hub / github.com/PCSX2/pcsx2 / LD

Function LD

pcsx2/R5900OpcodeImpl.cpp:700–708  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

698}
699
700void LD()
701{
702 s32 addr = cpuRegs.GPR.r[_Rs_].UL[0] + _Imm_;
703
704 if (addr & 7) [[unlikely]]
705 RaiseAddressError(addr, false);
706
707 cpuRegs.GPR.r[_Rt_].UD[0] = memRead64(addr);
708}
709
710static const u64 LDL_MASK[8] =
711{ 0x00ffffffffffffffULL, 0x0000ffffffffffffULL, 0x000000ffffffffffULL, 0x00000000ffffffffULL,

Callers

nothing calls this directly

Calls 1

RaiseAddressErrorFunction · 0.85

Tested by

no test coverage detected