diff --git a/asm/compiler.asm b/asm/compiler.asm index 61c8f866..839c750d 100644 --- a/asm/compiler.asm +++ b/asm/compiler.asm @@ -209,14 +209,13 @@ LIT lda (W), y sta MSB, x - lda W clc + lda W adc #3 - sta + + 1 - lda W + 1 - adc #0 - sta + + 2 -+ jmp PLACEHOLDER_ADDRESS ; replaced with instruction pointer + sta W + bcc + + inc W+1 ++ jmp (W) +BACKLINK "litc", 4 LITC