Skip to main content

Posts

Showing posts from July, 2010

Optimization techniques

To optimize the memory size of program(for microcontrollers)

    1. If you are working with 8 bit of data or no. between 0 to 255 then use char datatype.

Example:
int j = 0;
for ( j =  0; j<=100 ; j++);

    Here instead of int use char. It will help u in optimizing program by a bunch of byte.