re:
> can anyone suggest an efficient way to do this that won't end up using
> the
> A5 register?
Aaron wrote:
> a) global const
> put it outside of the function, not as a variable inside.
> b) use a resource
> resources are simply memory pointers when locked. not that slow at all.
> what do you expect pc-relative data is? it is data inside a 'code'
> resource.
&
> const Char timeString[10] = "my string";
>
> can be assumed read-ony.
>
it seems that Codewarrior doesn't play quite like GCC. I can't figure any
way of defining variables so they don't go A5.
trying to get something like this:
static const UInt32 bitRate[15] = { 0, 32000, 48000, 56000, 64000,
80000, 96000, 112000, 128000, 160000, 192000, 224000, 256000, 320000,
384000 };
to be non-A5.
any suggestions Ben?
--
For information on using the ACCESS Developer Forums, or to unsubscribe, please
see http://www.access-company.com/developers/forums/