avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] big .hex file - explanation please?


From: E. Weddington
Subject: Re: [avr-gcc-list] big .hex file - explanation please?
Date: Thu, 12 Aug 2004 12:53:42 -0600
User-agent: Mozilla Thunderbird 0.7.3 (Windows/20040803)

Kelly McDonald wrote:

Jeff & Eric,

Thanks for the help.

having the listing there is defnintly a big help. I think that I've been
working with scripting languages too long!

Q: if you are working with 'big numbers' are there any tricks that you
usally employ? I'm trying to generate an output code for a DDS and it
requires 32bits for an arbitrary frequency. I may try playing with it
and try to do away with the floats. (then again I've still got almost 6k
left to play with)

As with any engineering, it depends on what tradeoffs you're willing to live with. For anything with microcontrollers without hw floating point support, I try and stick with integer math as much as possible; it saves both time and space, but that's also relative too.

Attached file sort of shows what I'm trying to do (sans lcd/uart stuff).

TIA,
Kelly
Standard attachment error: missing?

Eric



reply via email to

[Prev in Thread] Current Thread [Next in Thread]