> I developped some time ago a set of routines for heap management (malloc, free, etc) on PICs. > They work for PIC12 and PIC16 (mid-range) and PIC18 uCs (they may work for base-line PICs as well, but I doubt it will be any useful), with Hi-Tech PICC, Hi-Tech PICC-18 and Microchip MPLAB-C18 compilers. better refer to lower PICs by their instruction size, PIC12 and PIC16 have both 12 and 14 bit cores. I can't imagine a (usefull) heap management on a 12-bit core... Personally I see little use for full heap management on embedded systems at all, mainly due to fragmentation. What type of applications would benefit from full heap management? (NB full heap management == both malloc and free. I fully understand the utility of restricted heap 'management' == malloc only) > Here is the link: http://f1.grp.yahoofs.com/v1/gG_WSLUPgAKdYXso8qaZ3RWcWgDi_yAQFMjrYw2KAz6_d6e5mTjb1-uP9tEra3MAaMEy4QXRiYbFLnDsA4qEbCBjkmZ74H06gIQpEQ/Heap%20Management%20For%20Small%20Microcontrollers%20v1.02.zip "Document Not Found The document you requested could not be found." -- Wouter van Ooijen -- ------------------------------------------- Van Ooijen Technische Informatica: www.voti.nl consultancy, development, PICmicro products docent Hogeschool van Utrecht: www.voti.nl/hvu -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist