bool Emulate_Bgt() { var val2 = instructionEmulator.Pop(); var val1 = instructionEmulator.Pop(); if (val1.IsInt32() && val2.IsInt32()) { return(EmulateBranch(2, Int32Value.CompareGt((Int32Value)val1, (Int32Value)val2))); } else if (val1.IsInt64() && val2.IsInt64()) { return(EmulateBranch(2, Int64Value.CompareGt((Int64Value)val1, (Int64Value)val2))); } else { return(false); } }