Hi Dor
malloc(), free() etc. are included in the library files with your compiler so you should be able to use these if required.
Alternatively look at the uTasker project (
http://www.uTasker.com) since it includes [i]uMalloc()[/i] which is a zero overhead memory allocater. Since much memory use in small footprint embedded systems is preferably of static nature (to avoid memory holes potentially causing system failure) this enables malloc() type dynamic allocation with static characteristics. It can however be run together with the library memory allocation (to have the best of both worlds).
Regards
Mark