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

Function BNE

pcsx2/DebugTools/DisR5900asm.cpp:805–816  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

803}
804
805void BNE( std::string& output )
806{
807 int rs = DECODE_RS;
808 int rt = DECODE_RT;
809
810 if (disSimplify && rs == 0 && rt != 0)
811 disBranch(output, "bnez", rt);
812 else if (disSimplify && rs != 0 && rt == 0)
813 disBranch(output, "bnez", rs);
814 else
815 disBranch(output, "bne", rs, rt);
816}
817
818void BLEZ( std::string& output ) { disBranch(output, "blez", DECODE_RS); }
819void BGTZ( std::string& output ) { disBranch(output, "bgtz", DECODE_RS); }

Callers

nothing calls this directly

Calls 1

disBranchFunction · 0.85

Tested by

no test coverage detected