internal MemoryModelLocation(MemoryModelLocationName name, Address address) { Name = name; DisplayName = name.ToString(); StartAddress = address; EndAddress = address; }
internal MemoryModelLocation(MemoryModelLocationName name, Address startAddress, Address endAddress) { if (startAddress > endAddress) { throw new SystemException($"Negative range: {startAddress} - {endAddress}"); } Name = name; DisplayName = name.ToString(); StartAddress = startAddress; EndAddress = endAddress; }