EmbeddedRelated.com
Forums

Variable Symbols in File Register

Started by jsternmd August 31, 2009
Hi Group,

Is there any way get MPLAB asssembler to show the cblock symbol names from a list of variables created by cblock?

With a large cblock of 30-40 variable symbol names it gets to be a real pain to find the right address when looking in the file register while debugging.

Also, with byte size variables, MPLAB does not include or allow me to drag and drop any of the cblock variables to the watch window.

thanks

jerry

Hi Jerry,
You should be able to see the register address assigned to the C block variables in the list file when the program is assembled. It is shown at the start of the listing where the c block is show.
They are also shown at the end of the listing in the symbol table. (Assuming the symbol table list option is not turned off.)
Les.

--- In p..., "jsternmd" wrote:
>
> Hi Group,
>
> Is there any way get MPLAB asssembler to show the cblock symbol names from a list of variables created by cblock?
>
> With a large cblock of 30-40 variable symbol names it gets to be a real pain to find the right address when looking in the file register while debugging.
>
> Also, with byte size variables, MPLAB does not include or allow me to drag and drop any of the cblock variables to the watch window.
>
> thanks
>
> jerry
>
Hi Les, yes but that's such a pain to keep referring to a separate
document. Would be nice if MPLAB were able to display the symbol name.
Also why can't these cblock variables be used as watch variables?

jerry

-----Original Message-----
From: p... [mailto:p...] On Behalf
Of g8fub
Sent: Tuesday, September 01, 2009 5:04 PM
To: p...
Subject: [piclist] Re: Variable Symbols in File Register
Hi Jerry,
You should be able to see the register address assigned to the
C block variables in the list file when the program is assembled. It is
shown at the start of the listing where the c block is show. They are
also shown at the end of the listing in the symbol table. (Assuming the
symbol table list option is not turned off.) Les.

--- In p..., "jsternmd" wrote:
>
> Hi Group,
>
> Is there any way get MPLAB asssembler to show the cblock symbol names
> from a list of variables created by cblock?
>
> With a large cblock of 30-40 variable symbol names it gets to be a
> real pain to find the right address when looking in the file register
while debugging.
>
> Also, with byte size variables, MPLAB does not include or allow me to
> drag and drop any of the cblock variables to the watch window.
>
> thanks
>
> jerry
>


to unsubscribe, go to http://www.yahoogroups.com and follow the
instructions
Hi Jerry,
I do not use MPLAB to debug programs so I have not used the watch function. I assemble them with MPASM then use other methods to debug them. Hopefully someone else will be able to answer your question.
Les.

--- In p..., "Jerry O. Stern" wrote:
>
> Hi Les, yes but that's such a pain to keep referring to a separate
> document. Would be nice if MPLAB were able to display the symbol name.
> Also why can't these cblock variables be used as watch variables?
>
> jerry
>
> -----Original Message-----
> From: p... [mailto:p...] On Behalf
> Of g8fub
> Sent: Tuesday, September 01, 2009 5:04 PM
> To: p...
> Subject: [piclist] Re: Variable Symbols in File Register
> Hi Jerry,
> You should be able to see the register address assigned to the
> C block variables in the list file when the program is assembled. It is
> shown at the start of the listing where the c block is show. They are
> also shown at the end of the listing in the symbol table. (Assuming the
> symbol table list option is not turned off.) Les.
>
> --- In p..., "jsternmd" wrote:
> >
> > Hi Group,
> >
> > Is there any way get MPLAB asssembler to show the cblock symbol names
> > from a list of variables created by cblock?
> >
> > With a large cblock of 30-40 variable symbol names it gets to be a
> > real pain to find the right address when looking in the file register
> while debugging.
> >
> > Also, with byte size variables, MPLAB does not include or allow me to
> > drag and drop any of the cblock variables to the watch window.
> >
> > thanks
> >
> > jerry
> >
>
>
> to unsubscribe, go to http://www.yahoogroups.com and follow the
> instructions