>My question: is it possible to have the compiler >dynamically allocate memory in some way? >... >Then, instead of hard coding variables it could just use the >next available space. Get the HiTech C Compiler and use the macro assembler which comes with it. It does what you want and more. IMHO, it's worth the current $300 price in itself. It uses a real linker, too! Andy ================================================================== Andy Kunz - Montana Design - 409 S 6th St - Phillipsburg, NJ 08865 Hardware & Software for Industry & R/C Hobbies "Go fast, turn right, and keep the wet side down!" ==================================================================