Hi Bob, I had an issue where I need to do 64bit Mult/Div and ICCAVR does/did not support long long So I rolled my own - well not exactly - Google is your friend. Here's where I found the pointer I needed http://www.hackersdelight.org/ One final 'hint' - debug your math functions on the PC (VS2010 does support 64bit, GCC might - IDK) Then you can compare your results with the 'native' result. HTH Ivan Vernot From: AVR-Chat@yahoogroups.com [mailto:AVR-Chat@yahoogroups.com] On Behalf Of bobgardner@aol.com Sent: Tuesday, 26 June 2012 10:09 AM To: AVR-Chat@yahoogroups.com Subject: [AVR-Chat] uint64_t in iccv7avr? I know its nutty to want to do 64 bit schtuff on an 8 bit micro, but its getting hard to find a microsd card thats less than 4GB, and those all need the 64bit vars in the structs for the fat32 vars.Yeah yeah, I know gnu seems to support them, but I cant get past the byzantine read_pgm_byte and progmem_P decorations. All those smart maintainers. Cant they just push all that stuff into the compiler somehow instead of those unreadable macros? Phew. That made me feel better for some reason. So if someone knows some way of some way of dealing with longlongs using the imagecraft compiler, I'd love to look at it. Looking fwd to reading any answers. [Non-text portions of this message have been removed] [Non-text portions of this message have been removed]
Message
RE: [AVR-Chat] uint64_t in iccv7avr?
2012-06-27 by Ivan Vernot
Attachments
- No local attachments were found for this message.