Hi, All is there any guide(link,book). which tells about complexity of instructions we use in microcontroller's programming in c language e.g switch() is better or if statement.
I know it mostly depends upon compiler we are using. but any general help.
to make program most efficient fast for execution, with best choice of instructions like
if(SW) is better than if(SW==1)
Thanks in advance
.Yatoof
I know it mostly depends upon compiler we are using. but any general help.
to make program most efficient fast for execution, with best choice of instructions like
if(SW) is better than if(SW==1)
Thanks in advance
.Yatoof