public static OperationResult staticOperation(final MessageFrame frame) {
    final Bytes dest = frame.popStackItem().trimLeadingZeros();
    final Bytes condition = frame.popStackItem().trimLeadingZeros();

    // If condition is zero (false), no jump is will be performed. Therefore, skip the test.
    if (condition.size() == 0) {
      return nojumpResponse;
    } else {
      final int jumpDestination;
      try {
        jumpDestination = dest.toInt();
      } catch (final RuntimeException re) {
        return invalidJumpResponse;
      }
      final Code code = frame.getCode();
      if (code.isJumpDestInvalid(jumpDestination)) {
        return invalidJumpResponse;
      }
      frame.setPC(jumpDestination);
      return jumpiResponse;
    }
  }
Performs Jump operation.

@param frame the frame
@return the operation result
evm/src/main/java/org/hyperledger/besu/evm/operation/JumpiOperation.java