Forum
ORG 60000 - LEN(compiled code) - Printable Version

+- Forum (https://www.boriel.com/forum)
+-- Forum: Compilers and Computer Languages (https://www.boriel.com/forum/forumdisplay.php?fid=12)
+--- Forum: ZX Basic Compiler (https://www.boriel.com/forum/forumdisplay.php?fid=11)
+--- Thread: ORG 60000 - LEN(compiled code) (/showthread.php?tid=1648)



ORG 60000 - LEN(compiled code) - zarsoft - 12-03-2021

Hi
I want to put the code on top memory.
How do I know the length of the compiled code?


RE: ORG 60000 - LEN(compiled code) - Ljg701 - 12-03-2021

(12-03-2021, 09:54 AM)zarsoft Wrote: Hi
I want to put the code on top memory.
How do I know the length of the compiled code?

Look at the memory.txt file generated at the result of compilation. The final line will tell you where in memory the program ends.

E.g. 

FFB8: .LABEL.__LABEL1752