mirror of
https://github.com/irmen/prog8.git
synced 2024-12-25 23:29:55 +00:00
fix pointer-to-pointer assignment
This commit is contained in:
parent
4a81406262
commit
195cd7597d
@ -1878,8 +1878,7 @@ internal class AssignmentAsmGen(private val program: Program, private val asmgen
|
||||
asmgen.out(" sta ${target.asmVarname}")
|
||||
}
|
||||
TargetStorageKind.MEMORY -> {
|
||||
val sourceName = asmgen.asmVariableName(identifier)
|
||||
asmgen.out(" lda $sourceName")
|
||||
asmgen.loadByteFromPointerIntoA(identifier)
|
||||
storeRegisterAInMemoryAddress(target.memory!!)
|
||||
}
|
||||
TargetStorageKind.ARRAY -> {
|
||||
|
Loading…
Reference in New Issue
Block a user