def __init__(self, noperands = UA_MAXOP):
        self.auxpref = 0
        self.cs = 0
        self.ea = 0
        self.flags = 0
        self.insnpref = 0
        self.ip = 0
        self.itype = 0
        self.n = 0
        self.segpref = 0
        self.size = 0
        self.Operands = []

        # store the number of operands
        self.n = noperands

        # create operands
        for i in xrange(0, noperands):
            op = op_t()
            op.n = i
            self.Operands.append(op)
            setattr(self, 'Op%d' % (i+1), op)
dataset/ETHPy150Open EiNSTeiN-/idapython/pywraps/sidc.py/insn_t.__init__/original