From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f7344,3261a5634009198f X-Google-Attributes: gidf7344,public X-Google-Thread: 1164f8,3261a5634009198f X-Google-Attributes: gid1164f8,public From: wilson@dbit.com (John Wilson) Subject: Re: Porting a macro-64 source from VMS to NT Date: 1998/10/25 Message-ID: <36334b42.0@news.wizvax.net>#1/1 X-Deja-AN: 404892597 References: <36333215.6C2397A9@esoc.esa.de> X-Trace: 25 Oct 1998 11:01:06 -0500, dbit.dbit.com Organization: D Bit, Troy, NY Newsgroups: comp.sys.dec,comp.os.vms In article <36333215.6C2397A9@esoc.esa.de>, Alan Dartnell wrote: >We are also investigating other options, such as porting the output >produced by MACRO-64 using the /PREPROCESS_ONLY qualifier or using >a high level language to perform the macro task and have it generate >a simple assembler program. That sounds like a good idea. I don't know about asaxp in particular, but most newer assemblers are just toys and their macro facility, if any, isn't really worth using. Also they tend to use the screwball UNIX method of doing local labels, where cutting and pasting yields code that still assembles OK but doesn't work at all. Preprocessing it into bald mnemonics with made-up symbols seems like a good idea, the tricky thing is that assembly language preprocessing often requires access to the real symbol table (not some flimsy preprocessor symbol table like in C) so it's not guaranteed that you can totally divorce the macro substitution and actual assembly layers. John Wilson D Bit