1
0
mirror of https://github.com/KarolS/millfork.git synced 2024-12-23 08:29:35 +00:00

#49 Export fixed addresses to the symbol file

This commit is contained in:
Karol Stasiak 2020-06-17 02:07:32 +02:00
parent 78a680c0d6
commit 2b0090714c

View File

@ -247,6 +247,7 @@ abstract class AbstractAssembler[T <: AbstractCode](private val program: Program
for (i <- 0 until tim.typ.size) {
m.occupied(i + n.toInt) = true
}
labelMap.put(tim.name, m.index -> n.toInt)
case _ =>
}
case arr: MfArray =>
@ -256,6 +257,7 @@ abstract class AbstractAssembler[T <: AbstractCode](private val program: Program
for (i <- 0 until arr.sizeInBytes) {
m.occupied(i + n.toInt) = true
}
labelMap.put(arr.name, m.index -> n.toInt)
case _ =>
}
case _ =>