From ccd06bc8cb5ba6ec543248d2bff94ccb87670620 Mon Sep 17 00:00:00 2001 From: John Lorentzson Date: Sun, 6 Jul 2025 22:30:03 +0200 Subject: [PATCH] Fix typo that makes a comment confusing --- wip-duuqnd/user-side-compiler/backend/code-generator.lisp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wip-duuqnd/user-side-compiler/backend/code-generator.lisp b/wip-duuqnd/user-side-compiler/backend/code-generator.lisp index 7d71241..03eff74 100644 --- a/wip-duuqnd/user-side-compiler/backend/code-generator.lisp +++ b/wip-duuqnd/user-side-compiler/backend/code-generator.lisp @@ -274,7 +274,7 @@ is the responsibility of the pre-assembly compilation step." ;; In the event of no branch -- we're storing the result -- we skip over ;; an LDX #0 instruction if it succeeded, run if if the test failed. (emit-asm-instruction :opcode #xA2 :operand 0 :byte-length 2) - ;; And a NOP since the skip is three bytes, since in the even of a branch + ;; And a NOP since the skip is three bytes, since in the event of a branch ;; it will be skipping over a whole JMP. (emit-asm-instruction :opcode #xEA :byte-length 1) ;; Then, regardless if we skipped or not, we put the result we have in X,