• AVR Freaks

AnsweredHot!xc8 and if statement

Page: < 12 Showing page 2 of 2
Author
mlp
boots too small
  • Total Posts : 825
  • Reward points : 0
  • Joined: 2012/09/10 15:12:07
  • Location: previously Microchip XC8 team
  • Status: offline
Re: xc8 and if statement 2019/10/18 13:10:08 (permalink)
0
Izseko
i would preffer some basic information about optimized lines of my code.

Read the commented assembly listing file produced by the compiler at link time. I'm pretty sure MPLAB X tells the compiler to put it in {ProjectName}.LST.
 
BTW, even with optimization level 0 there will be some (simple) optimizations applied.

Mark (this opinion available for hire)
#21
Izseko
New Member
  • Total Posts : 12
  • Reward points : 0
  • Joined: 2019/10/12 07:47:06
  • Location: 0
  • Status: offline
Re: xc8 and if statement 2019/10/18 22:59:16 (permalink)
0
mark.pappin
Izseko
i would preffer some basic information about optimized lines of my code.

Read the commented assembly listing file produced by the compiler at link time. I'm pretty sure MPLAB X tells the compiler to put it in {ProjectName}.LST.
 
BTW, even with optimization level 0 there will be some (simple) optimizations applied.


Thanks mpl
#22
Page: < 12 Showing page 2 of 2
Jump to:
© 2019 APG vNext Commercial Version 4.5