How to assemble multiple .asm files to multiple .prg files using CBM PRG Studio
Posted: Wed Sep 13, 2023 11:54 am
Hi,
I'm trying to assemble a CBM PRG Studio project that includes 3 .asm files and I need each of them to create its corresponding .prg file. I have found required options in 'Project Properties' menu but, since the third file is referring to multiple labels from the other two, I get many 'Invalid label' error messages when it tries to assemble that .asm file (the other two are correctly assembled to their .prg files because they don't require labels from the other files). I have tried checking the option 'All macros and Labels are global' but that didn't seem to have any effect (also tried adding a '$' at the end of label names to identify them as global with same result). I have also tried using the directive Incasm <filename> but result is that third .prg file is actually assembling the source code from all the three files.
So, my question is, is it possible to get CBM PRG Studio to identify labels from other .asm files when creating individual .prg files?
Thanks!
I'm trying to assemble a CBM PRG Studio project that includes 3 .asm files and I need each of them to create its corresponding .prg file. I have found required options in 'Project Properties' menu but, since the third file is referring to multiple labels from the other two, I get many 'Invalid label' error messages when it tries to assemble that .asm file (the other two are correctly assembled to their .prg files because they don't require labels from the other files). I have tried checking the option 'All macros and Labels are global' but that didn't seem to have any effect (also tried adding a '$' at the end of label names to identify them as global with same result). I have also tried using the directive Incasm <filename> but result is that third .prg file is actually assembling the source code from all the three files.
So, my question is, is it possible to get CBM PRG Studio to identify labels from other .asm files when creating individual .prg files?
Thanks!