diff --git a/src/main/scala/millfork/compiler/z80/Z80BulkMemoryOperations.scala b/src/main/scala/millfork/compiler/z80/Z80BulkMemoryOperations.scala index cd19a955..56c3e103 100644 --- a/src/main/scala/millfork/compiler/z80/Z80BulkMemoryOperations.scala +++ b/src/main/scala/millfork/compiler/z80/Z80BulkMemoryOperations.scala @@ -345,7 +345,7 @@ object Z80BulkMemoryOperations { calculateByteCount ++ Z80ExpressionCompiler.stashBCIfChanged(calculateTargetAddress) ++ Z80ExpressionCompiler.stashBCIfChanged(Z80ExpressionCompiler.stashHLIfChanged(extraInitializationPair._1)) ++ - Z80ExpressionCompiler.stashHLIfChanged(extraInitializationPair._1) + Z80ExpressionCompiler.stashHLIfChanged(extraInitializationPair._2) } val label = Z80Compiler.nextLabel("me")