Forum
ORG 60000 - LEN(compiled code) (solved) - 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) (solved) (/showthread.php?tid=1648)



ORG 60000 - LEN(compiled code) (solved) - 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


RE: ORG 60000 - LEN(compiled code) - zarsoft - 07-02-2023

The size of the compiled code FILE on disk is the length of the compiled code.