diff --git a/xasm.d b/xasm.d index 7424e62..130275a 100644 --- a/xasm.d +++ b/xasm.d @@ -2280,6 +2280,8 @@ void assemblyIns() { } catch (Exception e) { throw new AssemblyError("Error seeking file"); } + if (inOpcode) + length = 1; while (length != 0) { ubyte[1] buffer; try {