Page 1 of 1

Display variables when debugging

PostPosted: Fri Oct 16, 2020 10:28 pm
by spkdd
I would like to display the contents of one of my own declared variables when I'm debugging a PIC.
I was able to display that content only by using its real physical address, but how do we use its declared name instead?

I'm on mac/mplabx/pickit3, using assembly language only, and it's on a pic16f688, but that shouldn't make any difference, as it should work the same for any pic.

I used the ac162056 header board and doing the ICSP with the pickit3, running on it's intended pcb.

Re: Display variables when debugging

PostPosted: Fri Oct 16, 2020 10:36 pm
by ric
How are you "declaring" your variables?
Which assembler are you using?
If it's MPASM, is it Absolute, or Relocatable mode?