![]() |
|
How to change the compiling ORG address? - Printable Version +- Boriel Basic Forum (https://forum.boriel.com) +-- Forum: Compilers and Computer Languages (https://forum.boriel.com/forumdisplay.php?fid=12) +--- Forum: ZX Basic Compiler (https://forum.boriel.com/forumdisplay.php?fid=11) +---- Forum: Help & Support (https://forum.boriel.com/forumdisplay.php?fid=16) +---- Thread: How to change the compiling ORG address? (/showthread.php?tid=206) |
How to change the compiling ORG address? - programandala.net - 2010-04-19 I wonder how to change the default address 32768. I've searched for "org" in the forum archive, but all references are about the assembler ORG. There's no mention in the wiki either. I blindly tried this: Code: org 30000Code: #org 30000Code: asmCode: org 32768Re: How to change the compiling ORG address? - boriel - 2010-04-19 It's a command line option. zxb --org=<org address for example: zxb --org=32768 -TaB myprogram.bas Read here for command line parameters help: <!-- m --><a class="postlink" href="http://www.boriel.com/wiki/en/index.php/ZX_BASIC:Zxb#Command_Line_Options">http://www.boriel.com/wiki/en/index.php ... ne_Options</a><!-- m --> |