From ce323fc2f76201bdf5b2881999d343832310f069 Mon Sep 17 00:00:00 2001 From: Erin Date: Sat, 22 Jul 2023 02:26:29 +0200 Subject: [PATCH] added notice. --- hbasm/src/lib.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hbasm/src/lib.rs b/hbasm/src/lib.rs index ca8f9af..639383b 100644 --- a/hbasm/src/lib.rs +++ b/hbasm/src/lib.rs @@ -69,6 +69,8 @@ impl Assembler { // - It was a good idea to add some equivalent to `ud2` anyways // - Its zeroes // - What if you somehow reached that code, it will appropriately bail :) + // + // Why 12 bytes? That's the size of largest instruction parameter part. self.buf.extend([0; 12]); } }