Page 1 of 1

PICC with MPLAB...compiling Salvo Demo

PostPosted: Thu Jan 24, 2002 6:31 am
by Steve Clauter
I just loaded the Salvo demo and compiled my first C program with PICC (YEA!)....but I cannot find an Absolute Listing. I assume the way to do this is with the PICC Assembler but when I type "-l" on the command line in the "Install Language Tool" window for the assembler, I get an error as it's looking for a file!? Argh! Should I use the ASPIC instead? I'm really dense at this stuff. I'm used to just assembling cute little programs that always seemed to work but this is frustrating.




Re: PICC with MPLAB...compiling Salvo Demo

PostPosted: Fri Jan 25, 2002 8:49 am
by Salvo Tech Support
Hi Steve.

The simplest way to get a listing is to open the Node Properties for main.c in a Salvo project (and for any other source file you want to look at), scroll down and select "Produce assembler list file". Upon a successful compile, there will be a main.lst located in the same directory as main.c.

It turns out that this is done with the PICC compiler, and not with the assembler. In fact, we've never even used or looked at the assembler -- we do everything regarding PICC and PICC-18 from the compiler only.

Note that you won't get any listings for the Salvo code when you compile a project using a library. But you will be able to step through all the code (Salvo library and main.c, etc.) in the Program Memory window (in assembly, of course).


Salvo Technical Support
Please request all tech support through the Forums.

[This message has been edited by Salvo Tech Support (edited January 25, 2002).]