Yes and no. If complicated operations are coded inside macros, the macro can generate different code for different targets. BTDT,GTTS.
-- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 ________________________________________ From: IBM Mainframe Assembler List <[email protected]> on behalf of Ed Jaffe <[email protected]> Sent: Tuesday, January 23, 2018 4:25 PM To: [email protected] Subject: Re: Fair comparison C vs HLASM On 1/22/2018 7:44 AM, Jon Perryman wrote: > If anyone tells you C is superior to HLASM, don't believe it. I agree with a lot of what you've written. We use SPMs for our coding (with FLOWASM of course) and a LOT of powerful macros for calling services, building tables, etc. One thing I do like from C is that the compiler can optimize the object code for a particular generation of hardware -- automatically taking advantage of new instructions as they become available. In HLASM the instructions are hand-coded and therefore cannot be automatically optimized. -- Phoenix Software International Edward E. Jaffe 831 Parkview Drive North El Segundo, CA 90245 http://www.phoenixsoftware.com/
