def __init__(self, cpu_factory, registers):
        for group, register_list in registers.iteritems():
            registers[group] = [Register(x) for x in register_list]
        super(GenericCpu, self).__init__(cpu_factory, registers)