CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Blank disassembly list depending on code

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
E_Blue



Joined: 13 Apr 2011
Posts: 417

View user's profile Send private message

Blank disassembly list depending on code
PostPosted: Wed Aug 19, 2015 10:07 am     Reply with quote

I'm using MPLAB IDE v8.92 and CCS v5.048 to generate code for a PIC18F67J50.

I get three results depending on the code, even a single Enter can change the result.

1)I get the full disassembly list code.
2)I get one blank line.
3)I get one line with a single GOTO @cinit1

I search in this forum and see that happen old time ago with an early version of CCS compiler.

https://www.ccsinfo.com/forum/viewtopic.php?p=59447

This bug was solved or still alive until nowadays. Question

There's any considerations to take to work around this bug?
_________________
Electric Blue
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Thu Aug 20, 2015 12:12 am     Reply with quote

What are your Project / Build Options settings in MPLAB ? In the Debug
section, if I select None or Expanded COD format and compile, it says
"Failed to Load" and gives me a blank Disassembly Listing in the View
menu. If you use COFF format, it should work OK.
E_Blue



Joined: 13 Apr 2011
Posts: 417

View user's profile Send private message

PostPosted: Thu Aug 20, 2015 6:04 am     Reply with quote

Yes I'm using COFF format.

The result changes according to the code.
_________________
Electric Blue
Ttelmah



Joined: 11 Mar 2010
Posts: 19545

View user's profile Send private message

PostPosted: Thu Aug 20, 2015 7:34 am     Reply with quote

I must admit, I have never seen this.

However I always compile _outside_ MPLAB. Don't know why, but it seems much easier to have proper control of the compile process, being confident that MPLAB will not change things, and seeing the compiler error messages directly, rather than having an extra layer that may hide things.

Try the experiment, with code that shows the problem, of compiling this outside. I'd guess there is going to be something like a warning being generated, and it is this that hiccups MPLAB....
E_Blue



Joined: 13 Apr 2011
Posts: 417

View user's profile Send private message

PostPosted: Thu Aug 20, 2015 8:09 am     Reply with quote

How do you compile outside the MPLAB?
Are you using CCS IDE?

I use MPLAB because I mostly compile to debug the program.
_________________
Electric Blue
Ttelmah



Joined: 11 Mar 2010
Posts: 19545

View user's profile Send private message

PostPosted: Thu Aug 20, 2015 8:26 am     Reply with quote

If you have the IDE yes, you can use this, otherwise just use a command line compile.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group