Hi,
I wrote a program in JAL (
www.justanotherlanguage.org ) for a PIC16F1768.
It compiles without errors.
The JAL compiler produces (among other files) a .ASM file which is the legacy assembler equivalent to the JAL program
I now want to debug the ASM file with a simulator within MPLAB
PIC16F1768 is not supported by MPLAB 8.92 (which I use usually), so, I have to use MPLAB X 5.35 (last version to support the legacy ASM syntax)
I create a new project, add the ASM file, build it for debugging without errors and want to debug it using the embedded simulator.
I can run the program, step by step if needed, but I cannot watch any variable (Example: Right-click on a variable, and Add to watch). Besides, the Variables tab should display all variables immediately after loading the program, which is not the case here
What is weird is that in the Dashboard window, it appears that my compiled program has code, but 0 byte of data (see attached)
I also tried with MPLAB X 4.20, and the result is the same
Any idea ?
How do you do to debug (in a simulator) a legacy PIC .ASM file ?
Thanks
David