In assembly, we use SECTION directive to declare reloadable section. The syntax is :
<name>: SECTION [SHORT][<number>]
<name> is the name assigned to the section. Two SECTION directives with the same name specified refer to the same section.
<number> is optional.
I just made a small sample on my side. See enclosed. In main.asm, asm_main is defined in MYASMCODE section, temp_byte is defined in MYASMRAM section. Please also see prm file.
Best Regards
Jun Zhang