You are addressing one of the most experienced programmers on this forum.
Ric, it's very kind of you to make such a nice comment. Your view of my abilities may not be shared by all the members here :)
I have yet find a method to set the FBOOT configuration word for my PIC24FJ1024GB606 without using the #pragma config FBOOT statement in a C file.
If you have a method to initialize the configuration words of these device using the Microchip supplied include files for assembly language please share that code.
You are trying to discuss not the problems of assembler as a tool, but the availability of examples of assembler code for all occasions.
In order to write such examples for you, the microchip must hire special people who will be for you and such as you generate the code for these examples in assembler. Is free. Because assembler is free. But assembler programmers are very few and they do not affect silicon sales.
Therefore, I advise you to create your own assembler library.
I worked with PIC24FJ1024GB606, but did not use the mode of work with two partitions. But I do not see any problems for their use. Now, because of COVID19, I work remotely, and not in the office, so I don’t have a product with PIC24FJ1024GB606 available and I can't find a solution for you immediately. I think that within one month I will be able to get to the office and take this product there in order to write an example code that interests you.
A manual for writing code for dual-core MK is available. This requires the creation of two separate projects (slave and master) and a special “master stub” project for debugging the slave.
My comment goes to the heart of how Microchip seems to regard assembly language for their controllers.
Your statement: " ... I don’t have a product with PIC24FJ1024GB606 available ..." raises the question with how developers work with the Microchip tool chain. It would appear that you require having a physical controller chip connected to the In-Circuit-Debug tool before attempting to create any code at all.
The example I seek requires only the MPLABX IDE and the XC16 compiler the simulation tool or real hardware is not needed. Just opening the "Configuration Bits" window would show everything I could need.
As you have interpreted my request as a request for example code to initialize a dual core dsPIC using assembly language. All I can say is this is not what I asked for. Perhaps I should seek advise from other members with more experience and fewer axes to grind.
As far as a library of example code I have posted some on github here: https://github.com/dsoze1138
The repositories I post on github are projects I have done for my own education and as examples to support posts I have made on various forums. While I have a day job of writing embedded firmware these repositories are exercises that keep me in practice.
Have you made any of your code or projects accessible to the public?