def get_registers(self):
    values = list(self.NS)
    num = 0
    while (num < len(values)):
        (yield self.NS[values[num]])
        num += 1
def get_registers(self):
    values = list(self.NS)
    num = 0
    while (num < len(values)):
        (yield self.NS[values[num]])
        num += 1