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

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

RE: [avr-gcc-list] Union as parameter


From: Larry Barello
Subject: RE: [avr-gcc-list] Union as parameter
Date: Wed, 24 Aug 2005 08:14:35 -0700

Sorry for the blizzard of email...

Using bitfields was almost as optimal as manual shift & mask:

Resulting .text for my application:

Using frames: 14282 (odd size bitfield forces parameter onto stack..)
Using Shift/mask: 14002
Using bitfield: 14008

I'll use bitfields as it is easier to layout new eeprom sizes and the code
is easier to follow.

THANKS!





reply via email to

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