Re: z14 specific instructions?
In an instance where the IPL fails due to an ALS related issue, what would the wait state code be and would there be any system messages generated? Did this get answered? The wait state code and wait state reason depend on which ALS was not met. -- 07B reason 1E is "not even a z9" (you won't get this on newer z/OS releases -- you'd get the next one) -- 07B reason 1F is "not even a z10" -- 07B reason 20 is "not even a zEC12" and there are many other 07B reasons (which as with reason 1E you will not get on newer z/OS releases -- you'd get reason 1F) No, there are no messages. Peter Relson z/OS Core Technology Design
SETRP retry for 64 code
Would any one know the parms on the SETRP when retrying 64 bit code It tred I tried SETRP RC=4,RETADDR=(R4),RETREGS=64,DUMP=NO,RETRYAMODE=64 and I saw the same ST R4 without the RETRYAMODE64 PARAMTER was hoping to see STG
Re: SETRP retry for 64 code
You can’t retry to rmode64 code. You have to have a stub code below the bar to retry to and have the stub enter your rmode64 code. Chuck Arney > On Jun 25, 2019, at 3:16 PM, Joseph Reichman wrote: > > Would any one know the parms on the SETRP when retrying 64 bit code It tred > > > > I tried SETRP RC=4,RETADDR=(R4),RETREGS=64,DUMP=NO,RETRYAMODE=64 and I saw > the same ST R4 without the RETRYAMODE64 PARAMTER was hoping to see STG > > >
Re: SETRP retry for 64 code
Both my estate and setrp are below the bar however I didn't notice any difference in the expansion of the setrp macro when processing a setrp for amode 31 bit and for amode 64 bit Meaning when I had retaddr=(R4) in amode 31 the setrp code expanded to a ST R4 and the same when I had it RETRYAMODE=64 I was hoping to see STG R4 but the code still had ST R4 -Original Message- From: IBM Mainframe Assembler List On Behalf Of Chuck Sent: Tuesday, June 25, 2019 4:51 PM To: ASSEMBLER-LIST@LISTSERV.UGA.EDU Subject: Re: SETRP retry for 64 code You can’t retry to rmode64 code. You have to have a stub code below the bar to retry to and have the stub enter your rmode64 code. Chuck Arney > On Jun 25, 2019, at 3:16 PM, Joseph Reichman wrote: > > Would any one know the parms on the SETRP when retrying 64 bit code It tred > > > > I tried SETRP RC=4,RETADDR=(R4),RETREGS=64,DUMP=NO,RETRYAMODE=64 and I saw > the same ST R4 without the RETRYAMODE64 PARAMTER was hoping to see STG > > >
ltorg question
I see the following literal 41101403=D'1' Shouldn't it of translated to 0001 And the same for -4 C1401406=D'-4' Shouldn't it of translated to To FFFC thanks
Re: ltorg question
Hey Joe, The 'D' (floating point constant type) and F (fixed point constant type) have been around forever. Somewhere between 95-2002 IBM added the type-extension subfield to the DC instruction. As of 2004, D became a valid type-extension, which clarifies characteristics of the type, so in type-extension context, D is doubleword. ( ftp://public.dhe.ibm.com/software/websphere/awdtools/hlasm/S8164H.pdf pg 3 ) For fixed point type double word constants, you can use... ONE DCFD'1' I was surprised to stumble across this myself some years ago. HTH, Mike -Original Message- From: IBM Mainframe Assembler List [mailto:ASSEMBLER-LIST@LISTSERV.UGA.EDU] On Behalf Of Joseph Reichman Sent: Tuesday, June 25, 2019 8:35 PM To: ASSEMBLER-LIST@LISTSERV.UGA.EDU Subject: ltorg question I see the following literal 41101403=D'1' Shouldn't it of translated to 0001 And the same for -4 C1401406=D'-4' Shouldn't it of translated to To FFFC thanks
Re: ltorg question
Thought it was a double word As in DS D > On Jun 25, 2019, at 9:01 PM, Mike Hochee wrote: > > Hey Joe, > > The 'D' (floating point constant type) and F (fixed point constant type) > have been around forever. Somewhere between 95-2002 IBM added the > type-extension subfield to the DC instruction. As of 2004, D became a valid > type-extension, which clarifies characteristics of the type, so in > type-extension context, D is doubleword. ( > ftp://public.dhe.ibm.com/software/websphere/awdtools/hlasm/S8164H.pdf pg 3 ) > > For fixed point type double word constants, you can use... ONE DCFD'1' > > > I was surprised to stumble across this myself some years ago. > > HTH, > Mike > > -Original Message- > From: IBM Mainframe Assembler List [mailto:ASSEMBLER-LIST@LISTSERV.UGA.EDU] > On Behalf Of Joseph Reichman > Sent: Tuesday, June 25, 2019 8:35 PM > To: ASSEMBLER-LIST@LISTSERV.UGA.EDU > Subject: ltorg question > > I see the following literal > > > > 41101403=D'1' > > > > Shouldn't it of translated to > > 0001 > > > > And the same for -4 > > C1401406=D'-4' > > Shouldn't it of translated to > > To > > FFFC > > thanks
Re: ltorg question
Thanks > On Jun 25, 2019, at 9:01 PM, Mike Hochee wrote: > > Hey Joe, > > The 'D' (floating point constant type) and F (fixed point constant type) > have been around forever. Somewhere between 95-2002 IBM added the > type-extension subfield to the DC instruction. As of 2004, D became a valid > type-extension, which clarifies characteristics of the type, so in > type-extension context, D is doubleword. ( > ftp://public.dhe.ibm.com/software/websphere/awdtools/hlasm/S8164H.pdf pg 3 ) > > For fixed point type double word constants, you can use... ONE DCFD'1' > > > I was surprised to stumble across this myself some years ago. > > HTH, > Mike > > -Original Message- > From: IBM Mainframe Assembler List [mailto:ASSEMBLER-LIST@LISTSERV.UGA.EDU] > On Behalf Of Joseph Reichman > Sent: Tuesday, June 25, 2019 8:35 PM > To: ASSEMBLER-LIST@LISTSERV.UGA.EDU > Subject: ltorg question > > I see the following literal > > > > 41101403=D'1' > > > > Shouldn't it of translated to > > 0001 > > > > And the same for -4 > > C1401406=D'-4' > > Shouldn't it of translated to > > To > > FFFC > > thanks
Re: ltorg question
DS D defines a floating point field. 4110 is a normalize floating point 1. Use FD for a fixed 64-bit integer. LTORG is irrelevant. Works the same as a literal or as a DC. Charles -Original Message- From: IBM Mainframe Assembler List [mailto:ASSEMBLER-LIST@LISTSERV.UGA.EDU] On Behalf Of Joseph Reichman Sent: Tuesday, June 25, 2019 6:03 PM To: ASSEMBLER-LIST@LISTSERV.UGA.EDU Subject: Re: ltorg question Thought it was a double word As in DS D > On Jun 25, 2019, at 9:01 PM, Mike Hochee wrote: > > Hey Joe, > > The 'D' (floating point constant type) and F (fixed point constant type) have been around forever. Somewhere between 95-2002 IBM added the type-extension subfield to the DC instruction. As of 2004, D became a valid type-extension, which clarifies characteristics of the type, so in type-extension context, D is doubleword. ( ftp://public.dhe.ibm.com/software/websphere/awdtools/hlasm/S8164H.pdf pg 3 ) > > For fixed point type double word constants, you can use... ONE DC FD'1' > > I was surprised to stumble across this myself some years ago. > > HTH, > Mike > > -Original Message- > From: IBM Mainframe Assembler List [mailto:ASSEMBLER-LIST@LISTSERV.UGA.EDU] On Behalf Of Joseph Reichman > Sent: Tuesday, June 25, 2019 8:35 PM > To: ASSEMBLER-LIST@LISTSERV.UGA.EDU > Subject: ltorg question > > I see the following literal > > > > 41101403=D'1' > > > > Shouldn't it of translated to > > 0001 > > > > And the same for -4 > > C1401406=D'-4' > > Shouldn't it of translated to > > To > > FFFC > > thanks
Re: ltorg question
Floating point is stored in double words. Most of the time the nominal value is 0, which looks the same in hex and Floating Point. The FD notation seems weird to me. But it takes care of alignment. -Original Message- From: IBM Mainframe Assembler List [mailto:ASSEMBLER-LIST@LISTSERV.UGA.EDU] On Behalf Of Joseph Reichman Sent: Tuesday, June 25, 2019 6:03 PM To: ASSEMBLER-LIST@LISTSERV.UGA.EDU Subject: Re: ltorg question Thought it was a double word As in DS D > On Jun 25, 2019, at 9:01 PM, Mike Hochee wrote: > > Hey Joe, > > The 'D' (floating point constant type) and F (fixed point constant type) have been around forever. Somewhere between 95-2002 IBM added the type-extension subfield to the DC instruction. As of 2004, D became a valid type-extension, which clarifies characteristics of the type, so in type-extension context, D is doubleword. ( ftp://public.dhe.ibm.com/software/websphere/awdtools/hlasm/S8164H.pdf pg 3 ) > > For fixed point type double word constants, you can use... ONE DC FD'1' > > I was surprised to stumble across this myself some years ago. > > HTH, > Mike > > -Original Message- > From: IBM Mainframe Assembler List [mailto:ASSEMBLER-LIST@LISTSERV.UGA.EDU] On Behalf Of Joseph Reichman > Sent: Tuesday, June 25, 2019 8:35 PM > To: ASSEMBLER-LIST@LISTSERV.UGA.EDU > Subject: ltorg question > > I see the following literal > > > > 41101403=D'1' > > > > Shouldn't it of translated to > > 0001 > > > > And the same for -4 > > C1401406=D'-4' > > Shouldn't it of translated to > > To > > FFFC > > thanks
D
Someone wrote: > Thought it was a double word > As in DS D It is a doubleword, specifically a long (64 bit) floating point type. And yes, DS D and DS 0D are commonly used when floating point is not intended. And as Fortran programmers would know, E is the short (32 bit) floating point type. Now that I think about it, I don’t remember the assembler notation for 128 bit (extended precision) floating point constants, though am pretty sure that it isn’t the Q that IBM and DEC Fortran uses. I suppose I don’t see anything wrong with 0D for doubleword alignment, even when not for floating point data. Probably better not to use D or 2D or others, though. D would be the one that needed doubleword alignment for OS/360, and so its use goes back that far. One could use FL8 for fixed point data, but I suspect without doubleword alignment.
Re: ltorg question
On 2019-06-26 11:47, Mike La Martina wrote: Floating point is stored in double words. Floating-point can also be stored in a word (i.e., single precision). Most of the time the nominal value is 0, which looks the same in hex and Floating Point. The FD notation seems weird to me. But it takes care of alignment.
Re: ltorg question
Agreed. -Original Message- From: IBM Mainframe Assembler List [mailto:ASSEMBLER-LIST@LISTSERV.UGA.EDU] On Behalf Of robi...@dodo.com.au Sent: Tuesday, June 25, 2019 7:44 PM To: ASSEMBLER-LIST@LISTSERV.UGA.EDU Subject: Re: ltorg question On 2019-06-26 11:47, Mike La Martina wrote: > Floating point is stored in double words. Floating-point can also be stored in a word (i.e., single precision). > Most of the time the nominal > value is 0, which looks the same in hex and Floating Point. > > The FD notation seems weird to me. But it takes care of alignment.