Andres, Your system of memory allocation seems extremely interesting and powerfull. I will give it a try when I work on a (multi module) PIC project again. Thanks for sharing it! Niki