Added Hex Conversions to allow for loading programs into memory from Hex Files.

This commit is contained in:
2026-06-03 15:51:30 -04:00
parent eae5314e3b
commit c474907d72
13 changed files with 163 additions and 7 deletions
+1 -1
View File
@@ -113,7 +113,7 @@ namespace CPUSimulation
{
if (address < 0 || address >= _memoryBankSize)
{
throw new ArgumentOutOfRangeException(nameof(address), $"Address must be between 0 and {_memoryBankSize - 1}.");
throw new ArgumentOutOfRangeException(nameof(address), $"Received {address}. Address must be between 0 and {_memoryBankSize - 1}.");
}
}