Recently been learning to programme in PIC24 assembler, and have completed part of the learning project. Now I want to move ahead with the next stage, and have created a new project for this, The starting point are all the project files from the completed and operational project, and these have been imported unchanged copies from the original (which still assembles and links correctly).
Attempting to build the new project fails, as the assembler says it cannot read an include file that works correctly in the original. I've tried restarting MPLAB-X, rebooting the laptop, and even recreating the "faulty" file from scratch. The file in question uses equates to define meaningful names for particular file bits to aid visibility when debugging. For example :-
" .equ sec00_flg, 0X0000 "
This works as expected in the first project. The new project builds correctly if "#sec00_flg" is changed to "#0x0000" wherever it occurs.
I've run out of ideas on this one, but has anyone experienced a similar oddity and found a cure? A screen capture attached shows the results of a debug attempt with the equate in place.