From 3892a719eb941532c54d83a3ac15203deca7bbcd Mon Sep 17 00:00:00 2001 From: Erin Date: Sat, 22 Jul 2023 02:27:03 +0200 Subject: [PATCH] A --- hbasm/src/lib.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hbasm/src/lib.rs b/hbasm/src/lib.rs index 639383b..3235f5b 100644 --- a/hbasm/src/lib.rs +++ b/hbasm/src/lib.rs @@ -67,8 +67,9 @@ impl Assembler { // // Newly created `UN` (as UNreachable) was chosen as // - It was a good idea to add some equivalent to `ud2` anyways - // - Its zeroes + // - It was chosen to be zero // - What if you somehow reached that code, it will appropriately bail :) + // - (yes, originally NOP was considered) // // Why 12 bytes? That's the size of largest instruction parameter part. self.buf.extend([0; 12]);