Generally, I prefer to code my own equates rather than using a macro
simply because you can then document what the register is used for in
the program.  I think this is helpful to quickly see if a register is
available for use or, if not, what it is used for and whether it could
be reassigned easily.


Christopher J Pomasl
Lead, Sound of the Rockies barbershop chorus
Lead, Nuance Quartet
Always remember, you are unique...just like everyone else.

On 12/17/2014 11:41 AM, John McKown wrote:
> This may be a bit on the extreme side. But I'm hoping that IBM has a
> standard HLASM macro, or combination of macros, which map _all_ of the
> various registers, using the advanced facilities of the EQU
> pseudo-instruction. This should map _all_ of the register: general purpose,
> floating point, access, and control. And, where applicable, use "expression
> 5" to say what type of register it is. Examples would be:
>
> R1 EQU 1,,,,GR
> R1_32 EQU 1,,,,GR32
> R1_64 EQU 1,,,,GR63
> ​AR1  EQU 1,,,,AR
> CR1 EQU 1,,,,CR
> CR1_32 EQU 1,,,,CR32
> CR1_64 EQU 1,,,,CR64
> FPR1 EQU 1,,,,FPR
>
> I've looked in SYS1.MACLIB, SYS1.MODGEN, SCEEMAC, SASMMAC1​, and SASMMAC2.
> The best that I've found is SYS1.MACLIB(IAZYREG). Yes, I can just create my
> own. But I prefer to use IBM "standard" macros any more.
>
>
>

Reply via email to