i got your point, here the optimization ignores the for  loop, and therefore
leds doesnt  blink. I should use the "volatile unsigned int i" right?.

 But when i compile the code using mspgcc-3.2.3 using optimization, the
compiled code does work. Now i don't understand, form where does the
difference comes from.   Could you please help me out.

regards,
 Abhay
------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
Mspgcc-users mailing list
Mspgcc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mspgcc-users

Reply via email to