dvk (09/14/82)
Since someone asked, I feel that this is a reasonable excuse to put a (sort of) advertisement in this newsgroup. MIRAGE (Mellon Institute of Research Assembler Generator) is a for-sale type product that generates cross assemblers on Unix. You give it a simple description of the instruction set of your target machine (from a syntactic, and not a functional viewpoint), and it generates a C program that is a cross assembler for your target machine. No, it is not YACC or LEX or AWK based, it is an honest-to-god standalone assembler generator. It has been used to describe assemblers for the Z80, 6502, VAX, PDP-11, DG Eclipse-C, 68000, 6809, 6800, a 64-bit wide bit-slice, Knuth's MIX machine, etc. All assemblers support a consistant notation for labels, comments, storage and arithmetic operators, and all have a full blown (C flavor) pre-processor. Selective, limited, or wholly general addressing modes are easily specified, as are reserved words, and special error and condition handling routines. You can easily specify "jbr" type instructions, where the assembler chooses the most efficient code. All assemblers generate listings (eat your heart out, BTL!). Details, examples, a 75 page users manual, and other good stuff can be obtained by contacting: Dan Klein Computer Language Investors MI-CEC Suite 730 4616 Henry St. -or- One Chatham Center Pittsburgh, Pa. 15213 Pittsburgh, Pa. 15219 412/578-3382 412/471-1068 I will answer net type mail, but I prefer USNail or telephone.