Hello Ed. >> In fact, you can make a macro assembler assemble code for a totally >> different type of chip! A macro assembler can even be written (and >> probably frequently is) for no chip in particular, using "include" >> modules loaded by the "CPUTYPE" macro to customise for a given >> device. > Yes, most of my reusable code modules have macros with lots of "ifdef" > statements that change the macro for different processor types. For > example, some processors have 2 RAM banks and others 4, and the > "ifdef" statement is used in the macro for ensuring the correct bank > bits are set for the current processor. Not quite what I meant. I was referring to the potential to use MPASM to assemble 68HC11 code, or a generic macro processor to assemble for Z-80, 6800 or PIC code. -- Cheers, Paul B.