Ask for help and support on things not being bugs. Help on how to program with ZX Basic, etc. Please, READ the How-To & Tutorials forum and Wiki before asking here: your question might already be answered.

I've been using ZXBC for some projects I am doing, one of the things is that I working with very limited memory. I'm writing my code to start at 25000.

When I am doing an ASM include no matter where in the code I place it, there is still ZXBC code after.

If I place all my inlcudes at the end of my program, they still appear around 40-50 bytes in. I need to be able to tag the includes on at the end of the file, not in the middle as once I have moved them to another located they can be discarded but with ZXBC code appear AFTER the includes it means I keep running into trouble.

I know about ORG in ASM but I'd rather ZXBC obey me when I have a include as the last lines to see in memory that it also appears at the end of the code.

You can supply the --mmap=memory_map.txt file to the compiler, it will display a list of all the labels and their respective memory addresses.Or also compile with -dd (or -ddd the more d's the more info). It will display all assembler instructions with it's resulting address.Does this help??

boriel wrote:You can supply the --mmap=memory_map.txt file to the compiler, it will display a list of all the labels and their respective memory addresses.Or also compile with -dd (or -ddd the more d's the more info). It will display all assembler instructions with it's resulting address.Does this help??

Yes. I like --mmap=memory_map.txt !I know I should better read Help before posting

But one thing about it: Can you please add an option to generate a Memory-Map with decimal adresses instead of hex adresses?