gnupic: Re: Mapping Variables


Previous by date: 14 Jan 2001 01:08:48 -0000 Re: Simulator literature suggestions?, Sten Dahlgren
Next by date: 14 Jan 2001 01:08:48 -0000 Re: trying to study PICs - part 2 - thank you all, Dan Christian
Previous in thread:
Next in thread:

Subject: Re: [PIC]: Mapping Variables
From: Scott Dattalo ####@####.####
Date: 14 Jan 2001 01:08:48 -0000
Message-Id: <Pine.LNX.4.21.0101131844380.19183-100000@tempest2.blackhat.net>

(cc'd to gnupic)

On Thu, 11 Jan 2001, JB wrote:

> Is there a function of MPLAB, or some third-party tool for mapping out which
> subroutines use what variables? Another thing I'd like to see is a chart of
> what sub calls which other subs. Have not found either as of yet.

I'm somewhat reluctant to mention it since it's total vaporware, but as part of
the PIC port to SDCC (http://www.dattalo.com/gnupic/sdcc.html) I'll be working
on a "post compiler optimizer". It's purpose is to take the assembly output of
the SDCC compiler and optimize it. One of the steps will be to generate the call
tree. The variable "mapping" as you call it, will also be available. 

The optimizer will initially be buried in SDCC. However, I intend to design it
such that it will also work on a .asm file. In this case, I'll modify gpasm to
generate the same information that I'm getting from SDCC. gpasm will provide the
syntax checking, macro expansion, etc. So in addition to producing .cod, .hex,
and .lst files, gpasm will produce a .opt (or whatever) file that is an
optimized .asm file. 

Scott


Previous by date: 14 Jan 2001 01:08:48 -0000 Re: Simulator literature suggestions?, Sten Dahlgren
Next by date: 14 Jan 2001 01:08:48 -0000 Re: trying to study PICs - part 2 - thank you all, Dan Christian
Previous in thread:
Next in thread:


Powered by ezmlm-browse 0.20.