def all_registers():
    """Return all registers defined in asm.register
    (excluding st(i) registers)
    """
    from . import register
    regs = []
    for name in dir(register):
        obj = getattr(register, name)
        if isinstance(obj, register.Register):
            regs.append(obj)
    return regs
