private void SetupInternalRegisters() { InternalRegisters = Enumerable.Range(0, 16) .Select(x => Enumerable.Range(0, 16).Select(y => { var reg = _byteRegisterFactory.Create(updateWire => { Io.UpdateData(new BusMessage <IByte> { Name = $@"RamInternalRegister{x}{y}", Data = updateWire }); Io.UpdateSubs(); }, $@"RamInternalRegister{x}{y}"); return(reg); }).ToList()).ToList(); foreach (var register in InternalRegisters.SelectMany(internalRegisterRow => internalRegisterRow)) { Io.AddRegister(register); } }