From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f7344,3261a5634009198f,start X-Google-Attributes: gidf7344,public X-Google-Thread: 1164f8,3261a5634009198f,start X-Google-Attributes: gid1164f8,public From: Alan Dartnell Subject: Porting a macro-64 source from VMS to NT Date: 1998/10/25 Message-ID: <36333215.6C2397A9@esoc.esa.de>#1/1 X-Deja-AN: 404852881 Content-Transfer-Encoding: 7bit Organization: ESA/ESOC - European Space Operations Centre Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 Newsgroups: comp.sys.dec,comp.os.vms I have been asked to look at the possibility of porting a large MACRO-64 application from VMS to an Alpha-NT system. The application was originally written in MACRO-64 for performance reasons, the performance of a C version was measured as less than half as fast as the MACRO-64 version and unable to provide the required performance. It never looked like being an easy job, but on investigating the asaxp assembler it looks to be much harder than was originally assumed. There is no VMS system specific code other than the $Routine, $Return, $Call macros, and these are readily replaced. All register are refered to using symbolic names so there are no problems in accommodating the different register usages of VMS and NT. However it does make very heavy use of the MACRO-64's macro facilities and of its string and integer symbol manipulation capabilities. These seem to be almost nonexistent in the asaxp assembler which appears to use the C preprocessor for these purposes, and this is simply not capable of performing the required macro and string processing. Does any one know of any macro processor for alpha NT ? If not its looks like the direct porting option will have to be abandoned. 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.