Hello,

I have more information.

I started commenting all the lines between this code, resulting the same. MR value is 0.
Next, I continued commenting all the lines outside this code. Result the same. MR value is 0.
Finally, I decided to comment step by step my array variables.

After 2 o 3 arrays commented I get MR=65535.

I repeated this process commenting other variables randomly with the same result. After 2 o 3 steps MR=65535.

My code is about 8k over a Pic16F877. Very fair but fits.

My conclusion is PicBasicPro compiler needs more memory for variables than PicBasic.

The weird is why the compiler gives no errors...

Many thanks,

Ricard.