Hi all, When i try to run the program below ,i got the two warnings below. I didnt add stratup.s in my project. I am geting the error whenever i include the line *(int *)0x40003456L = fact; I would like to know the cause of the problem and the way to get rid of it. looking for ur help. t.senthil
#include <LPC21xx.H> #include <stdio.h> void main (void) { int i,fact,j=1,value=6; for (i=1; i<=value; ++i) j=j*i; printf("The factorial of %d is %d\n",value,j); fact=j; *(int *)0x40003456L = fact; }