def populate(self, opvals, part=MAIN):
    for op in self.operands:
        assert (op in opvals.keys()), '{} is not in label {} Word opvals'.format(op, self.label)
    pop_insts = []
    for inst in self.insts:
        p_inst = self.pop_inst(inst, opvals)
        pop_insts.append(p_inst)
    ret_insts = ['{:<8}{:<42}'.format(((part + str(self.label)) + ':'), pop_insts.pop(0))]
    for i in range(len(pop_insts)):
        ret_insts.append('{:8}{:<42}'.format('', pop_insts.pop(0)))
    self.populated = True
    self.ret_insts = ret_insts
def populate(self, opvals, part=MAIN):
    for op in self.operands:
        assert (op in opvals.keys()), '{} is not in label {} Word opvals'.format(op, self.label)
    pop_insts = []
    for inst in self.insts:
        p_inst = self.pop_inst(inst, opvals)
        pop_insts.append(p_inst)
    ret_insts = ['{:<8}{:<42}'.format(((part + str(self.label)) + ':'), pop_insts.pop(0))]
    for i in range(len(pop_insts)):
        ret_insts.append('{:8}{:<42}'.format(, pop_insts.pop(0)))
    self.populated = True
    self.ret_insts = ret_insts