SV: [Icc-avr] V7.16A BETA0

Steven Lose sl at ecpower.dk
Tue Feb 26 03:34:49 PST 2008


Hi Richard.

I still have problems with floats after updating to 7.16A from 7.14B

Listed below is something odd, the variables fToPi and fStep does not init to the values?
There is not generated any code for those lines?!

Some other thing, the variables have a number attached to them, apparently added by the compiler!



_LcdCirkel:
  ucY1                 --> R10
  ucX1                 --> R12
  fPosY1               --> Y,+41
  fPosX1               --> Y,+37
  fYsin1               --> Y,+33
  fXcos1               --> Y,+29
  fDegree0             --> Y,+25
  fRadius0             --> Y,+21
  fY0                  --> Y,+17
  fX0                  --> Y,+13
  ucGlY0               --> R22
  ucGlX0               --> R20
  DrawClr              --> Y,+55
  Radius               --> Y,+53
  Y                    --> R10
  X                    --> R12
    A194 940E E160 CALL	push_xgsetF03C
    A196 2EA2      MOV	R10,R18
    A197 2EC0      MOV	R12,R16
    A198 97AD      SBIW	R28,0x2D
(0737) }
(0738) 
(0739) void LcdCirkel(unsigned char X,unsigned char Y,unsigned char Radius,unsigned char DrawClr)
(0740) {
(0741)  float fXcos,fYsin;
(0742)  float fDegree;
(0743)  float fRadius;
(0744)  float fX,fY;
(0745)  float fPosX,fPosY;
(0746)  float fToPi = 6.28318530718;
(0747)  float fStep = 0.01745329252;
(0748)  unsigned char ucX;
(0749)  unsigned char ucY;
(0750)  unsigned char ucGlX = 255;
    A199 EF4F      LDI	R20,0xFF
(0751)  unsigned char ucGlY = 255;

Med venlig hilsen / Best regards / mit freundlichen Grüßen

EC POWER A/S

Steven Lose

Software Ingeniør

Tlf.: +45 87434100

Direkte tlf. +45 58286608

Email: sl at ecpower.dk

www.ecpower.dk

-----Oprindelig meddelelse-----
Fra: icc-avr-bounces at imagecraft.com [mailto:icc-avr-bounces at imagecraft.com] På vegne af Steven Lose
Sendt: 25. februar 2008 08:55
Til: Discussion list for ICCAVR and ICCtiny Users. You do NOT needtosubscribeto icc-announce if you are a member of this.
Emne: SV: [Icc-avr] V7.16A BETA0

Hi Richard.

I updated to 7.16 from 7.14B and my project could not compile, because the options was wrong.
Project was set as a library, and to execute a '0' before compile!
After changing the options back the project can now compile, but does not work anymore.
Seems to be a float problem.

Med venlig hilsen / Best regards / mit freundlichen Grüßen

EC POWER A/S

Steven Lose

Software Ingeniør

Tlf.: +45 87434100

Direkte tlf. +45 58286608

Email: sl at ecpower.dk

www.ecpower.dk

-----Oprindelig meddelelse-----
Fra: icc-avr-bounces at imagecraft.com [mailto:icc-avr-bounces at imagecraft.com] På vegne af Richard Man
Sendt: 25. februar 2008 06:54
Til: icc-avr at imagecraft.com
Emne: [Icc-avr] V7.16A BETA0

The AppBuilder now works with all currently supported devices:

http://www.imagecraft.com/pub/iccv7avr_v716a_beta0.exe

V7.16A
   IDE
     - [AppBuilder] Added support for all Mega and Tiny devices on the
       device list
   Compiler
     - Added (R)CALL/RET -> (R)JMP tail call optimization

// richard <http://www.imagecraft.com/>
<http://www.dragonsgate.net/mailman/listinfo> On-line orders, 
support, and listservers available on web site.
[ For technical support on ImageCraft products, please include all 
previous replies in your msgs. ] 

_______________________________________________
Icc-avr mailing list
Icc-avr at imagecraft.com
http://dragonsgate.net/mailman/listinfo/icc-avr


_______________________________________________
Icc-avr mailing list
Icc-avr at imagecraft.com
http://dragonsgate.net/mailman/listinfo/icc-avr




More information about the Icc-avr mailing list