fixed invalid eval stack ptr issue

This commit is contained in:
Irmen de Jong 2020-09-27 20:55:34 +02:00
parent e828c013e6
commit d45fe4ce74

View File

@ -1084,6 +1084,8 @@ internal class ExpressionsAsmGen(private val program: Program, private val asmge
asmgen.out(" jsr prog8_lib.read_byte_from_address_on_stack")
if(pushResultOnEstack)
asmgen.out(" sta P8ESTACK_LO+1,x")
else
asmgen.out(" php | inx | plp")
}
}
}