I was trying to organize my code into multiple files, each with their own responsibility and run into some issues with the inclusion order into the main program. If sub1.asm defines some subroutines and loads some data, and then sub2.asm does that too, the final order of things would be something like sub1 code, sub1 data, sub2 code, sub2 data, which may not always be desired. Instead one might want to be able to consolidate and keep code together and then data together.
Would something like this be worthwhile to implement?
Maybe it could work a bit like KickAssembler .segment/.segmentdef but simpler?
I was trying to organize my code into multiple files, each with their own responsibility and run into some issues with the inclusion order into the main program. If
sub1.asmdefines some subroutines and loads some data, and thensub2.asmdoes that too, the final order of things would be something likesub1 code, sub1 data, sub2 code, sub2 data, which may not always be desired. Instead one might want to be able to consolidate and keep code together and then data together.Would something like this be worthwhile to implement?
Maybe it could work a bit like KickAssembler
.segment/.segmentdefbut simpler?