You still need to compile the symbols in all the DEF files, tho I guess a single pass compiler can spool the output into OBJ files in SPI/CF memory, and not keep it in RAM.
The linker has a smaller exe than the compiler, but it needs to read all OBJ files and create the HEX file, so a low-memory linker would need special design ?. On the PC I've always gone for speed, so this is a little different :)
n dThere are a wide range of editors/IDE around designed for command line tools Notepad++ is one, ConTEXT is another. Could be interesting to see how large these all are, as stand-alone tools, and how small the memory usage can be easily pushed to....
/ .I've tended to code three EXITs from LOOPs, in code that allows more compact results. Typically the top one is a sanity check, the centre one is the main result, and the bottom one is the 'ELSE'
For Function returns, RETURN compiles directly to RET, which is always smaller and faster than chained Jumps.
When you are targeting microcontrollers, these details matter - it all adds up.
The claim was it allowed removal of LOOP ?
Hmmm... PROCEDURE is over 7 Chars ?
Well, the word has to be 'english correct' (which ELSIF..DO badly fails) and following the ELSIF precedent, we get ELSWHILE..DO ?
-jg