Pumpkin, Inc.

Pumpkin User Forums

PICC with MPLAB...compiling Salvo Demo

If you have a general question or comment regarding Salvo, post it here.

PICC with MPLAB...compiling Salvo Demo

Postby Steve Clauter » Thu Jan 24, 2002 6:31 am

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.




Steve Clauter
Posts: 4
Joined: Thu Jan 17, 2002 12:00 am
Location: Tempe, Arizona, USA

Re: PICC with MPLAB...compiling Salvo Demo

Postby Salvo Tech Support » Fri Jan 25, 2002 8:49 am

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).]

Salvo Technical Support
Please request all tech support through the Forums.
Salvo Tech Support
Posts: 173
Joined: Sun Nov 19, 2000 12:00 am

Return to General

Who is online

Users browsing this forum: No registered users and 1 guest