On Wed, Oct 20, 2010 at 02:20:12PM -0500, Scott Duplichan wrote: > But gas has no base 2 log function and could not figure out how to > write a macro that returns a constant. > Sorry, ignore my previous post . I misread and answered without thinking. It was about gas, not about log2. I'm surprised that a macro can't return a constant.