diff --git a/Asm65/Formatter.cs b/Asm65/Formatter.cs
index 984174b..8a0239f 100644
--- a/Asm65/Formatter.cs
+++ b/Asm65/Formatter.cs
@@ -1121,8 +1121,17 @@ namespace Asm65 {
sb.Append(mHexDumpBuffer);
}
+ ///
+ /// Formats up to 16 bytes of data and appends it to the StringBuilder.
+ ///
+ /// Reference to data.
+ /// Start offset.
+ /// Address to put at start of line.
+ /// Number of bytes to format.
+ /// StringBuilder to append the data to.
public void FormatHexDump(byte[] data, int offset, int addr, int length,
StringBuilder sb) {
+ Debug.Assert(length <= 16);
FormatHexDumpCommon(data, offset, addr, length);
sb.Append(mHexDumpBuffer);
}
diff --git a/SourceGen/SourceGen.csproj b/SourceGen/SourceGen.csproj
index 16567cc..bf803b3 100644
--- a/SourceGen/SourceGen.csproj
+++ b/SourceGen/SourceGen.csproj
@@ -491,11 +491,8 @@
-
-
-
-
\ No newline at end of file
+