1
0
mirror of https://github.com/KarolS/millfork.git synced 2024-10-05 18:57:18 +00:00
This commit is contained in:
Karol Stasiak 2018-03-17 18:01:44 +01:00
parent fcf4af6c55
commit 4f46b21867

View File

@ -391,7 +391,7 @@ object AssemblyLine {
variable match { variable match {
case v@MemoryVariable(_, _, VariableAllocationMethod.Zeropage) => case v@MemoryVariable(_, _, VariableAllocationMethod.Zeropage) =>
List(AssemblyLine.zeropage(opcode, v.toAddress + offset)) List(AssemblyLine.zeropage(opcode, v.toAddress + offset))
case v@RelativeVariable(_, _, _, true) => case v@RelativeVariable(_, _, _, true, None) =>
List(AssemblyLine.zeropage(opcode, v.toAddress + offset)) List(AssemblyLine.zeropage(opcode, v.toAddress + offset))
case v: VariableInMemory => List(AssemblyLine.absolute(opcode, v.toAddress + offset)) case v: VariableInMemory => List(AssemblyLine.absolute(opcode, v.toAddress + offset))
case v: StackVariable => case v: StackVariable =>