From c6c75c43ffab92113de7ae0dee3cf79d0aa0903b Mon Sep 17 00:00:00 2001 From: Irmen de Jong Date: Wed, 16 Jan 2019 00:42:00 +0100 Subject: [PATCH] fix typo --- compiler/src/prog8/compiler/target/c64/AsmGen.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/src/prog8/compiler/target/c64/AsmGen.kt b/compiler/src/prog8/compiler/target/c64/AsmGen.kt index b51f882ae..8e4f23ad7 100644 --- a/compiler/src/prog8/compiler/target/c64/AsmGen.kt +++ b/compiler/src/prog8/compiler/target/c64/AsmGen.kt @@ -1665,7 +1665,7 @@ class AsmGen(val options: CompilationOptions, val program: IntermediateProgram, }, // mem uword = address-of var AsmPattern(listOf(Opcode.PUSH_ADDR_HEAPVAR, Opcode.POP_MEM_WORD)) { segment -> - " lda #<${segment[0].callLabel} | ldy #>{segment[0].callLabel} | sta ${hexVal(segment[1])} | sty ${hexValPlusOne(segment[1])}" + " lda #<${segment[0].callLabel} | ldy #>${segment[0].callLabel} | sta ${hexVal(segment[1])} | sty ${hexValPlusOne(segment[1])}" }, // mem (u)word = mem (u)word AsmPattern(