import re


def opcode_detect(asm_content):
    """
    Detects opcodes of the content of asm file.
    Returns a opcodes list.
    """
    pattern = re.compile(r'[\s][A-F0-9]{2}[\s]+([a-z]+)[\s+]')
    pattern_list = pattern.findall(asm_content)
    return pattern_list