mirror of
https://github.com/irmen/prog8.git
synced 2025-08-05 06:28:20 +00:00
make %memtop exclusive i.e. the first address NOT to use (like kernal MEMTOP)
This commit is contained in:
@@ -287,7 +287,7 @@ internal class ProgramAndVarsGen(
|
||||
}
|
||||
}
|
||||
asmgen.out(" ; memtop check")
|
||||
asmgen.out(" .cerror * > ${options.memtopAddress.toHex()}, \"Program too long by \", * - ${options.memtopAddress.toHex()}, \" bytes, memtop=${options.memtopAddress.toHex()}\"")
|
||||
asmgen.out(" .cerror * >= ${options.memtopAddress.toHex()}, \"Program too long by \", * - ${(options.memtopAddress-1u).toHex()}, \" bytes, memtop=${options.memtopAddress.toHex()}\"")
|
||||
}
|
||||
|
||||
private fun block2asm(block: PtBlock) {
|
||||
|
Reference in New Issue
Block a user