def instruction_list_to_easm(instruction_list: list) -> str:
    """Convert a list of instructions into an easm op code string.

    :param instruction_list:
    :return:
    """
    result = ""

    for instruction in instruction_list:
        result += "{} {}".format(instruction["address"], instruction["opcode"])
        if "argument" in instruction:
            result += " " + instruction["argument"]
        result += "\n"

    return result
def instruction_list_to_easm ( instruction_list : list ) -> str : result = "" for instruction in instruction_list : result += "{} {}" . format ( instruction [ "address" ] , instruction [ "opcode" ] ) if "argument" in instruction : result += " " + instruction [ "argument" ] result += "\n" return result
Convert a list of instructions into an easm op code string.

    :param instruction_list:
    :return: