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

This commit is contained in:
dbowerman committed 2026-06-03 15:51:30 -04:00
1 parent eae5314e3b
commit c474907d72
13 files changed
+163 -7

No files matched your search

+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}.");
}
}