This commit is contained in:
Irmen de Jong 2019-01-16 00:42:00 +01:00
parent 8bd5cc01b4
commit c6c75c43ff

View File

@ -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(