superior IBM supplied "register equate" macro?

2017-07-20 Thread John McKown
I know about YREGS and IAZYREG. But there are not what I want. What I want would have lines akin to: R0 EQU 0GR R0_64EQU 0GR64 R0_32EQU 0GR32 AR0 EQU 0AR ​Am I just being "too anal" in wanting to have something flagged like: MVI SOMEVAR,R0 SAVE HIGH BY

Re: superior IBM supplied "register equate" macro?

2017-07-20 Thread Charles Mills
: ASSEMBLER-LIST@LISTSERV.UGA.EDU Subject: superior IBM supplied "register equate" macro? I know about YREGS and IAZYREG. But there are not what I want. What I want would have lines akin to: R0 EQU 0GR R0_64EQU 0GR64 R0_32EQU 0GR32 AR0 EQU 0AR

Re: superior IBM supplied "register equate" macro?

2017-07-20 Thread Michael Stack
gt;their own. > >Charles > > >-Original Message- >From: IBM Mainframe Assembler List [mailto:ASSEMBLER-LIST@LISTSERV.UGA.EDU] On >Behalf Of John McKown >Sent: Thursday, July 20, 2017 11:52 AM >To: ASSEMBLER-LIST@LISTSERV.UGA.EDU >Subject: superior IBM supplied &quo

Re: superior IBM supplied "register equate" macro?

2017-07-20 Thread Pieter Wiid
Look at ASMDREG in the HLASM toolkit. I can't remember offhand. -Original Message- From: IBM Mainframe Assembler List [mailto:ASSEMBLER-LIST@LISTSERV.UGA.EDU] On Behalf Of John McKown Sent: 20 July 2017 20:52 To: ASSEMBLER-LIST@LISTSERV.UGA.EDU Subject: superior IBM supplied &quo

Re: superior IBM supplied "register equate" macro?

2017-07-21 Thread John McKown
without the "size" portion. I.e. no "GR" or "GR32" or "GR64" type operand.​ > > -Original Message- > From: IBM Mainframe Assembler List [mailto:ASSEMBLER-LIST@LISTSERV.UGA.EDU] > On Behalf Of John McKown > Sent: 20 July 2017 20:52 &

Re: superior IBM supplied "register equate" macro?

2017-07-21 Thread Steve Smith
rogrammers aren't nearly anal enough :-) sas > -Original Message- > > From: IBM Mainframe Assembler List [mailto:ASSEMBLER-LIST@ > LISTSERV.UGA.EDU] > > On Behalf Of John McKown > > Sent: 20 July 2017 20:52 > > To: ASSEMBLER-LIST@LISTSERV.UGA.EDU > > Subject: supe

Re: superior IBM supplied "register equate" macro?

2017-07-21 Thread Paul Gilmartin
On 2017-07-21, at 00:28, Pieter Wiid wrote: > Look at ASMDREG in the HLASM toolkit. I can't remember offhand. > > From: John McKown > Sent: 20 July 2017 20:52 > > I know about YREGS and IAZYREG. But there are not what I want. What I want > would have lines akin to: > A wonderful thing about s

Re: superior IBM supplied "register equate" macro?

2017-07-21 Thread John McKown
BM Mainframe Assembler List [mailto:ASSEMBLER-LIST@ > > LISTSERV.UGA.EDU] > > > On Behalf Of John McKown > > > Sent: 20 July 2017 20:52 > > > To: ASSEMBLER-LIST@LISTSERV.UGA.EDU > > > Subject: superior IBM supplied "register equate" macro? > &g

Re: Superior IBM supplied "register equate" macro?

2017-07-22 Thread Brent Longborough
Unfortunately, (like base registers), registers can change the "meaning" of their contents at different points in the program. Rather than static equates giving the same register two different names, I think it would be cleaner, and safer, to have a directive analogous to USING which would say to

Re: Superior IBM supplied "register equate" macro?

2017-07-22 Thread Charles Mills
Of Brent Longborough Sent: Saturday, July 22, 2017 3:00 AM To: ASSEMBLER-LIST@LISTSERV.UGA.EDU Subject: Re: Superior IBM supplied "register equate" macro? Unfortunately, (like base registers), registers can change the "meaning" of their contents at different points in the program

Re: Superior IBM supplied "register equate" macro?

2017-07-22 Thread graeme
HI instead of an > AGHI somewhere in the middle. > > Charles > > > -Original Message- > From: IBM Mainframe Assembler List [mailto:ASSEMBLER-LIST@LISTSERV.UGA.EDU] > On Behalf Of Brent Longborough > Sent: Saturday, July 22, 2017 3:00 AM > To: ASSEMBLER-LI

Re: Superior IBM supplied "register equate" macro?

2017-07-22 Thread Steve Smith
HLASM already does exactly that. RTFM for EQU attributes. sas On 7/22/2017 9:54, graeme wrote: I use r0:r15 for 32 bit reg references, g0:g15 for 64 bit reg references. Where the instruction references, or sets, bits 0:31 of a 64 bit reg, I use the appropriate "gn" symbolic to identify the

Re: Superior IBM supplied "register equate" macro?

2017-07-24 Thread Tom Marchant
On Sat, 22 Jul 2017 23:54:49 +1000, graeme wrote: >I use r0:r15 for 32 bit reg references, g0:g15 for 64 bit reg references. > >Where the instruction references, or sets, bits 0:31 of a 64 bit reg, I use >the appropriate "gn" symbolic to identify the register, else I use the >appropriate "rn" sy