'Mark a certain label as assigned (to an instruction or a block of data).
:param int addr: The address of the label.
:param Label label: The label that is just assigned.
:return: None'

def label_got(self, addr, label):

    if (label in self.addr_to_label[addr]):
        label.assigned = True
