I just had a peek into some of the assembler listings generated by WinAvr.
My main module is called main ....
WinAvr generates a main.lss file , that seams to contain the "Whole project" , and then there are .lst files generated for each separate module.
The funny part is that the assembly differsf from the .lst and the .lss file.
Almost as if the .lst is generated in a separate run from the .lss file
Is the .lss file generated after optimizing or ???
I have a place where i do a
uint16_t meas; meas <<=3
Thats xlated to : ("this is pseudo code imnot in front of my devel pc"):
shift "left" x-low
shift "left w. carry" , x-high
in the .lst file.
But in the .lss file its suddenly this code :
I know a "<< 1" is = "*2" is = "x+x" , but was just wondering ....
Any hints here ??
I can post the read listings , tonight if someone is interested.