mirror of
https://github.com/irmen/prog8.git
synced 2024-08-26 00:29:04 +00:00
fix compiler crash for certain str argument to asm functions
This commit is contained in:
parent
ca868ae19e
commit
2e928bd3c2
@ -177,7 +177,7 @@ internal class FunctionCallAsmGen(private val program: Program, private val asmg
|
||||
else
|
||||
asmgen.out(" lda #0 | sta cx16.${argi.value.second.registerOrPair.toString().toLowerCase()}+1")
|
||||
}
|
||||
in WordDatatypes ->
|
||||
in WordDatatypes, in IterableDatatypes ->
|
||||
asmgen.out("""
|
||||
lda P8ESTACK_LO$plusIdxStr,x
|
||||
sta cx16.${argi.value.second.registerOrPair.toString().toLowerCase()}
|
||||
|
Loading…
Reference in New Issue
Block a user