joeman
Newbie level 3
Hi All
I'm an ARM newbie, currently developing firmware project based on a ARM STM32L from ST (ARM Cortex M3).
I'm using IAR EWARM IDE and was wondering how to optimize my code.
Is it more efficient to use 32 bits data or 16 or 8 ?
For instance in a small loop for(i=0; i<10; i++), what is the more efficient way to declare i ?
As a 32 bits, 16 bits or 8 bits ?
Thanks in advance for any answer !
J
I'm an ARM newbie, currently developing firmware project based on a ARM STM32L from ST (ARM Cortex M3).
I'm using IAR EWARM IDE and was wondering how to optimize my code.
Is it more efficient to use 32 bits data or 16 or 8 ?
For instance in a small loop for(i=0; i<10; i++), what is the more efficient way to declare i ?
As a 32 bits, 16 bits or 8 bits ?
Thanks in advance for any answer !
J