def convert_jump(code):
    """Convert any give jump code into it's corresponding binary code"""
    binary = '000'
    if code is None:
        return binary
    elif code == 'JGT':
        binary = '001'
    elif code == 'JEQ':
        binary = '010'
    elif code == 'JGE':
        binary = '011'
    elif code == 'JLT':
        binary = '100'
    elif code == 'JNE':
        binary = '101'
    elif code == 'JLE':
        binary = '110'
    elif code == 'JMP':
        binary = '111'
    else:
        raise ValueError(f"Syntax error, {code} is wrong Jump code!")
    return binary