Re: HLASM religious texts, was Variable symbol without leading

2023-06-29 Thread Paul Gilmartin
On 6/29/23 13:31:11, Seymour J Metz wrote: ... I don't understand why division by zero is valuable and not an error. IIRC, it provides a (too) clever way of generating a boolean at assembly (not conditional) time: (X-Y)/(X-Y) is one iff X<>Y. -- gil

Re: HLASM religious texts, was Variable symbol without leading

2023-06-29 Thread Seymour J Metz
Assembler List [ASSEMBLER-LIST@LISTSERV.UGA.EDU] on behalf of Paul Gilmartin [0014e0e4a59b-dmarc-requ...@listserv.uga.edu] Sent: Thursday, June 29, 2023 3:19 PM To: ASSEMBLER-LIST@LISTSERV.UGA.EDU Subject: Re: HLASM religious texts, was Variable symbol without leading & On 6/29/23 11:1

Re: HLASM religious texts, was Variable symbol without leading

2023-06-29 Thread Paul Gilmartin
On 6/29/23 11:17:06, Seymour J Metz wrote: It looks like it supports expressions but not USING. Does it support division by 0? The mavens hereabouts have told me that is a valuable feature of HLASM when I'd rather see it treated as an error. I can think of exactly one good reason for not

Re: HLASM religious texts, was Variable symbol without leading

2023-06-29 Thread Peter Sylvester
One page that describes that index and base registers  are exchanged in GAS reminds me to a suggestion I have made for HLASM. No, not to do the same, but issue a warning when you have   rxinst  ra,offset(ra) instead of   rxinst  ra,offset(,ra) IBM's Mühlen mahlen langsam :-) Langsam

Re: HLASM religious texts, was Variable symbol without leading

2023-06-29 Thread Jonathan Scott
Ref: Your note of Thu, 29 Jun 2023 08:57:50 -0700 The GNU assembler as used for Linux on IBM Z uses a similar "raw" format for instructions to that shown in Principles of Operation, although with some differences. There is more information about it here, comparing with HLASM:

Re: HLASM religious texts, was Variable symbol without leading

2023-06-29 Thread Charles Mills
RV.UGA.EDU] On Behalf Of Seymour J Metz Sent: Thursday, June 29, 2023 8:35 AM To: ASSEMBLER-LIST@LISTSERV.UGA.EDU Subject: Re: HLASM religious texts, was Variable symbol without leading & Yes, you need PoOps to determine what format each instruction has, but the actual syntax of each field is d

Re: HLASM religious texts, was Variable symbol without leading

2023-06-29 Thread Seymour J Metz
AM To: ASSEMBLER-LIST@LISTSERV.UGA.EDU Subject: Re: HLASM religious texts, was Variable symbol without leading & The PoOp manual has always gone beyond the hardware definitions of machine language instructions to provide the symbolic format in HLASM (and its predecessors) of each machine lang

Re: HLASM religious texts, was Variable symbol without leading

2023-06-29 Thread Gary Weinhold
The PoOp manual has always gone beyond the hardware definitions of machine language instructions to provide the symbolic format in HLASM (and its predecessors) of each machine language instruction, e.g., MVC D1(L,B1),D2(B2). There could be many other zSeries assemblers (I don't know of any) that

Re: Variable symbol without leading

2023-06-28 Thread Jon Perryman
Assembler List on behalf of Jon Perryman Sent: Wednesday, June 28, 2023 10:06 PM To: ASSEMBLER-LIST@LISTSERV.UGA.EDU Subject: Re: Variable symbol without leading & Addressability is only documented in the POPS (and the addressability publication). Not HLASM. Show us the page in the H

Re: Variable symbol without leading

2023-06-28 Thread Tom Marchant
;Behalf Of Abe Kornelis >Sent: Wednesday, June 28, 2023 10:38 AM >To: ASSEMBLER-LIST@LISTSERV.UGA.EDU >Subject: Re: Variable symbol without leading & > >Jon, > >I've heard others make that remark before: HLASM is actually two languages. >I find the distinction rather arb

Re: Variable symbol without leading

2023-06-28 Thread Jon Perryman
I agree with you Phil about C macro language being abysmal. The only thing worse is Google's GO language which does not have macros. HLASM macro language should have been replaced years ago with REXX but as it stands, it's still extremely useful. Imagine coding a complex DCB in C or worse yet

Re: Variable symbol without leading

2023-06-28 Thread Seymour J Metz
ROTF,LMAO From: IBM Mainframe Assembler List on behalf of Jon Perryman Sent: Wednesday, June 28, 2023 10:06 PM To: ASSEMBLER-LIST@LISTSERV.UGA.EDU Subject: Re: Variable symbol without leading & Addressability is only documented in the

Re: Variable symbol without leading

2023-06-28 Thread Jon Perryman
. From: IBM Mainframe Assembler List on behalf of Jon Perryman Sent: Wednesday, June 28, 2023 7:09 PM To: ASSEMBLER-LIST@LISTSERV.UGA.EDU Subject: Re: Variable symbol without leading & Assembler instruction syntax is not described in the HLASM reference. You are descri

Re: Variable symbol without leading

2023-06-28 Thread Phil Smith III
Beyond all the fighting here, just be glad the assembler macro language is so powerful. Every time I have to do something in C that call out for a macro, I'm appalled at how pathetic that language is!

Re: Variable symbol without leading

2023-06-28 Thread Seymour J Metz
From: IBM Mainframe Assembler List on behalf of Jon Perryman Sent: Wednesday, June 28, 2023 7:09 PM To: ASSEMBLER-LIST@LISTSERV.UGA.EDU Subject: Re: Variable symbol without leading & Assembler instruction syntax is not described in the HLASM reference. You are describing various methods f

Re: Variable symbol without leading

2023-06-28 Thread Seymour J Metz
4 PM To: ASSEMBLER-LIST@LISTSERV.UGA.EDU Subject: Re: Variable symbol without leading & Seymour, you said that POPS does not explain how to symbolically encode instructions. What other manual tells you how to code instructions? Tell us where the MVC instruction is documented outside of the POPS

Re: Variable symbol without leading

2023-06-28 Thread Jon Perryman
@LISTSERV.UGA.EDU Subject: Re: Variable symbol without leading & Seymour, you said that POPS does not explain how to symbolically encode instructions. What other manual tells you how to code instructions? Tell us where the MVC instruction is documented outside of the POPS? I used

Re: Variable symbol without leading

2023-06-28 Thread Seymour J Metz
. From: IBM Mainframe Assembler List on behalf of Jon Perryman Sent: Wednesday, June 28, 2023 5:44 PM To: ASSEMBLER-LIST@LISTSERV.UGA.EDU Subject: Re: Variable symbol without leading & Seymour, you said that POPS does not explain how to symbolically en

Re: Variable symbol without leading

2023-06-28 Thread Jon Perryman
the layout of the data, not the DCs needed to generate them. From: IBM Mainframe Assembler List on behalf of Jon Perryman Sent: Wednesday, June 28, 2023 5:11 PM To: ASSEMBLER-LIST@LISTSERV.UGA.EDU Subject: Re: Variable symbol without leading & If the POPS

Re: Variable symbol without leading

2023-06-28 Thread Seymour J Metz
To: ASSEMBLER-LIST@LISTSERV.UGA.EDU Subject: Re: Variable symbol without leading & If the POPS does not explain how to symbolically code each instruction, then point us to the manual that does. For instance, what manual tells me how to code the PLO instruction with multiple syntax variat

Re: Variable symbol without leading

2023-06-28 Thread Jon Perryman
. From: IBM Mainframe Assembler List on behalf of Charles Mills Sent: Wednesday, June 28, 2023 2:03 PM To: ASSEMBLER-LIST@LISTSERV.UGA.EDU Subject: Re: Variable symbol without leading & The "other manual" for the Assembler is Principles of Oper

Re: Variable symbol without leading

2023-06-28 Thread Seymour J Metz
ct: Re: Variable symbol without leading & On 6/28/23 12:23:03, Seymour J Metz wrote: > Then it's a good thing that "exclusively" came from you, not from me. For > your information, I *have* encountered people who write HLASM for a living > and have no idea how the inst

Re: Variable symbol without leading

2023-06-28 Thread Paul Gilmartin
On 6/28/23 12:23:03, Seymour J Metz wrote: Then it's a good thing that "exclusively" came from you, not from me. For your information, I *have* encountered people who write HLASM for a living and have no idea how the instructions are actually encoded. ... and they ask how they can eliminate

Re: Variable symbol without leading

2023-06-28 Thread Seymour J Metz
on behalf of Charles Mills Sent: Wednesday, June 28, 2023 2:18 PM To: ASSEMBLER-LIST@LISTSERV.UGA.EDU Subject: Re: Variable symbol without leading & If you met someone who said he wrote Z assembler for a living, you would not think that he exclusively dealt in USING and SPACE and LCLC. You w

Re: Variable symbol without leading

2023-06-28 Thread Charles Mills
Sent: Wednesday, June 28, 2023 2:03 PM To: ASSEMBLER-LIST@LISTSERV.UGA.EDU Subject: Re: Variable symbol without leading & The "other manual" for the Assembler is Principles of Operation. If you want to know how COBOL MOVE works, you look at the COBOL Language Reference. But if you wa

Re: Variable symbol without leading

2023-06-28 Thread Charles Mills
- From: IBM Mainframe Assembler List [mailto:ASSEMBLER-LIST@LISTSERV.UGA.EDU] On Behalf Of Abe Kornelis Sent: Wednesday, June 28, 2023 10:38 AM To: ASSEMBLER-LIST@LISTSERV.UGA.EDU Subject: Re: Variable symbol without leading & Jon, I've heard others make that remark before: HLASM i

Re: Variable symbol without leading

2023-06-28 Thread Abe Kornelis
ing. > > > From: IBM Mainframe Assembler List on > behalf of Joseph Reichman > Sent: Wednesday, June 28, 2023 10:09 AM > To: ASSEMBLER-LIST@LISTSERV.UGA.EDU > Subject: Variable symbol without leading & > > Hi > Just lo

Re: Variable symbol without leading

2023-06-28 Thread Seymour J Metz
-LIST@LISTSERV.UGA.EDU Subject: Re: Variable symbol without leading & Assembler language and Assembler Macro language are 2 separate languages & manuals. Both have variables and symbols but they are very different in concept. In Assembler, symbols have a diverse use, one of which is variabl

Re: Variable symbol without leading

2023-06-28 Thread Jon Perryman
warning. From: IBM Mainframe Assembler List on behalf of Joseph Reichman Sent: Wednesday, June 28, 2023 10:09 AM To: ASSEMBLER-LIST@LISTSERV.UGA.EDU Subject: Variable symbol without leading & Hi Just looked at the doc for LCLC says for variable symbol says can be with

Re: Variable symbol without leading

2023-06-28 Thread Abe Kornelis
Gil, all, You suggest that a declaration for a variable with a leading ampersand should have the variable name evaluated before it is actually declared. Not only would that break most existing code (I do not recall ever having seen a variable declaration without a leading ampersand), it would

Re: Variable symbol without leading

2023-06-28 Thread Paul Gilmartin
On 6/28/23 08:17:20, Dave Clark wrote: "IBM Mainframe Assembler List" wrote on 06/28/2023 10:09:27 AM: Just looked at the doc for LCLC says for variable symbol says can be with or with out leading & However when I tried to do a SETC against it I got a assembly error I believe that

Re: Variable symbol without leading

2023-06-28 Thread Joseph Reichman
er to accept it but issue a > warning. > > > From: IBM Mainframe Assembler List on > behalf of Joseph Reichman > Sent: Wednesday, June 28, 2023 10:09 AM > To: ASSEMBLER-LIST@LISTSERV.UGA.EDU > Subject: Variable symbol without leadin

Re: Variable symbol without leading

2023-06-28 Thread Seymour J Metz
10:09 AM To: ASSEMBLER-LIST@LISTSERV.UGA.EDU Subject: Variable symbol without leading & Hi Just looked at the doc for LCLC says for variable symbol says can be with or with out leading & I did try to assemble a symbol without leading & and it did a assemble however I would t

Re: Variable symbol without leading

2023-06-28 Thread Dave Clark
"IBM Mainframe Assembler List" wrote on 06/28/2023 10:09:27 AM: > Just looked at the doc for LCLC says for variable symbol says can be > with or with out leading & > > However when I tried to do a SETC against it I got a assembly error I believe that it means LCLC does not require

Variable symbol without leading

2023-06-28 Thread Joseph Reichman
Hi Just looked at the doc for LCLC says for variable symbol says can be with or with out leading & I did try to assemble a symbol without leading & and it did a assemble however I would think without the leading & it’s an ordinary symbol However when I tried to do a SETC against it I got a