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.



-- 
​
While a transcendent vocabulary is laudable, one must be eternally careful
so that the calculated objective of communication does not become ensconced
in obscurity.  In other words, eschew obfuscation.

Maranatha! <><
John McKown

Reply via email to