This commit is contained in:
Irmen de Jong 2023-04-29 17:22:25 +02:00
parent c07eda15b1
commit 2885f4f7b1

View File

@ -306,7 +306,7 @@ internal class BuiltinFunctionsAsmGen(private val program: PtProgram,
asmgen.out(" jsr prog8_lib.func_sqrtw_stack")
else {
asmgen.out(" jsr prog8_lib.func_sqrtw_into_A")
assignAsmGen.assignRegisterByte(AsmAssignTarget.fromRegisters(resultRegister ?: RegisterOrPair.A, false, fcall.position, scope, asmgen), CpuRegister.A)
assignAsmGen.assignRegisterByte(AsmAssignTarget.fromRegisters(resultRegister ?: RegisterOrPair.A, false, fcall.position, scope, asmgen), CpuRegister.A, false)
}
}