Hi Johan, Your code did not compile for me. You are using 'bool AS_INIT=1;'. What is 'bool', for ANSI-C code with GCC 2.95.3? > In fact the variable A8_DMD_LAG_ST is not initialized to 8 as wanted when AS_INIT is 1 the first loop. A8_DMD_LAG_ST is not initialized in the first loop when AS_INIT is 1. A8_DMD_LAG_ST2 is initialized to 8.0 in the first loop when AS_INIT is 1, but that's a different variable. > Is there a flag or setting to be changed in GCC compiler to compile pointers correctly for the processor? No. Correctly specified code should compile pointers correctly for either processor (68040 or x86). > It is the use of the pointers that is of interest and not working. In what way are the pointers not working? Sincerely, --Eljay