def char_convert(character):
    """
    Returns the ASCII character code for the opcode
    and data.
    I could have done this in the assemble function
    but separated it for readability.
    """

    new_char = int("0x" + character, 0)
    return new_char