Hi,

Maybe a silly question, if so, sorry...

What is the "cheapest" data type that can be used on the Etrax processor?

With "cheapest", I mean the one that generates minimal assembly code.

It could be, for instance, that the compiler has to generate much more
assembly to process an unsigned char, while an int might be more
interesting since it's better mapped on the architecture of the
processor...

In my particular case, I have a struct with some 15 fields.  All have
a value between 0 and 99, so an unsigned char would do.

But an int is also not a problem and it could be that in this case
using an int iso an unsigned char is much more efficient...


Best rgds,

--Geert

Reply via email to