mirror of
https://github.com/KarolS/millfork.git
synced 2024-12-23 23:30:22 +00:00
#49 Export fixed addresses to the symbol file
This commit is contained in:
parent
78a680c0d6
commit
2b0090714c
@ -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 _ =>
|
||||
|
Loading…
Reference in New Issue
Block a user