Thanks everybody for answering. Except zasm.bat I also needed to 1) Replace ' with " in string constants 2) Replace db/dw with .db/.dw (or #define db .db) to get the example to pass through the compiler. One can also note that ""-strings do not include a zero at the end. / David