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

Function BEQ

pcsx2/DebugTools/DisR5900asm.cpp:790–803  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

788void JAL( std::string& output ) { output += "jal\t"; jump_decode(output);}
789
790void BEQ( std::string& output )
791{
792 int rs = DECODE_RS;
793 int rt = DECODE_RT;
794
795 if (disSimplify && rs == rt)
796 disBranch(output, "b");
797 else if (disSimplify && rs == 0 && rt != 0)
798 disBranch(output, "beqz", rt);
799 else if (disSimplify && rs != 0 && rt == 0)
800 disBranch(output, "beqz", rs);
801 else
802 disBranch(output, "beq", rs, rt);
803}
804
805void BNE( std::string& output )
806{

Callers

nothing calls this directly

Calls 1

disBranchFunction · 0.85

Tested by

no test coverage detected