Re: Subjectify my objectivity

2010-08-17 Thread Robert A. Rosenberg
At 08:04 AM +0100 on 08/16/2010, Dave Wade wrote about Re: Subjectify my objectivity: At 04:35 PM -0500 on 08/14/2010, John McKown wrote about Re: > Subjectify my objectivity: >Know what you mean. I modified a program which always moved 2 bytes >from a buffer to a HALFWORD DS H bef

Re: Subjectify my objectivity

2010-08-16 Thread Dave Wade
> -Original Message- > From: IBM Mainframe Assembler List > [mailto:assembler-l...@listserv.uga.edu] On Behalf Of Robert > A. Rosenberg > Sent: 16 August 2010 04:58 > To: ASSEMBLER-LIST@LISTSERV.UGA.EDU > Subject: Re: Subjectify my objectivity > > > > At 0

Re: Subjectify my objectivity

2010-08-15 Thread Robert A. Rosenberg
At 04:35 PM -0500 on 08/14/2010, John McKown wrote about Re: Subjectify my objectivity: Know what you mean. I modified a program which always moved 2 bytes from a buffer to a HALFWORD DS H before doing an LH on HALFWORD. Likewise, it always did an STH to HALFWORD, then moved to the buffer. The

Re: Subjectify my objectivity

2010-08-15 Thread McKown, John
> -Original Message- > From: IBM Mainframe Assembler List > [mailto:assembler-l...@listserv.uga.edu] On Behalf Of Bill Fairchild > Sent: Sunday, August 15, 2010 5:22 PM > To: ASSEMBLER-LIST@LISTSERV.UGA.EDU > Subject: Re: Subjectify my objectivity > > Doing the LH

Re: Subjectify my objectivity

2010-08-15 Thread John McKown
On Sun, 2010-08-15 at 22:22 +, Bill Fairchild wrote: > Doing the LH or STH directly from or to the unguaranteed-alignment > byte in the buffer could have resulted in a S0C6 ABEND until about the > middle of 1971. Is the program older than that? > > Bill Fairchild > Rocket Software > I don't t

Re: Subjectify my objectivity

2010-08-15 Thread Bill Fairchild
[mailto:assembler-l...@listserv.uga.edu] On Behalf Of John McKown Sent: Saturday, August 14, 2010 4:36 PM To: ASSEMBLER-LIST@LISTSERV.UGA.EDU Subject: Re: Subjectify my objectivity ... a program which always moved 2 bytes from a buffer to a HALFWORD DS H before doing an LH on HALFWORD. Likewise, it always did an

Re: Subjectify my objectivity

2010-08-15 Thread robin
From: "Paul Gilmartin" Sent: Sunday, 15 August 2010 1:23 PM On Aug 14, 2010, at 15:35, John McKown wrote: Know what you mean. I modified a program which always moved 2 bytes from a buffer to a HALFWORD DS H before doing an LH on HALFWORD. Likewise, it always did an STH to HALFWORD, then moved

Re: Subjectify my objectivity

2010-08-14 Thread Paul Gilmartin
On Aug 14, 2010, at 15:35, John McKown wrote: > Know what you mean. I modified a program which always moved 2 bytes from > a buffer to a HALFWORD DS H before doing an LH on HALFWORD. Likewise, it > always did an STH to HALFWORD, then moved to the buffer. The buffer did > not have any guaranteed al

Re: Subjectify my objectivity

2010-08-14 Thread Edward Jaffe
David Bond wrote: LB was introduced with the z990. LLC was introduced with the z9-109. Ugh. I forgot that awful name "z9-109" until you just mentioned it. z9 EC was so much better! -- Edward E Jaffe Phoenix Software International, Inc 831 Parkview Drive North El Segundo, CA 90245 310-338-0400

Re: Subjectify my objectivity

2010-08-14 Thread David Bond
On Sat, 14 Aug 2010 16:27:41 -0500, John McKown wrote: >I would like to use LB for signed bytes and LLC for unsigned. LB does >sign extension and LLC clears the other bytes to zeros. But I can't >remember if our z9BC supports them. LB was introduced with the z990. LLC was introduced with the z9-10

Re: Subjectify my objectivity

2010-08-14 Thread John McKown
Know what you mean. I modified a program which always moved 2 bytes from a buffer to a HALFWORD DS H before doing an LH on HALFWORD. Likewise, it always did an STH to HALFWORD, then moved to the buffer. The buffer did not have any guaranteed alignment. Since it was, and still is, a highly used subr

Re: Subjectify my objectivity

2010-08-14 Thread John McKown
I would like to use LB for signed bytes and LLC for unsigned. LB does sign extension and LLC clears the other bytes to zeros. But I can't remember if our z9BC supports them. On Sat, 2010-08-14 at 19:31 +1000, robin wrote: > On 8/13/2010 11:22 PM, Ott, Jeff wrote: > > SR R1,R1 > > LH R1,S

Re: Subjectify my objectivity

2010-08-14 Thread Abe Kornelis
On Sat, 14 Aug 2010 19:31:38 +1000, robin wrote: >On 8/13/2010 11:22 PM, Ott, Jeff wrote: >> SR R1,R1 >> LH R1,STUFF >> >> is one of my favs. > >Probably he was thinking of (or used) IC, then changed to LH. **--> Don't count on it. I've had to maintain a program that was riddled with th

Re: Subjectify my objectivity

2010-08-14 Thread Paul Gilmartin
On Aug 14, 2010, at 00:25, Gerhard Postpischil wrote: > On 8/13/2010 11:22 PM, Ott, Jeff wrote: >> SR R1,R1 >> LH R1,STUFF >> >> is one of my favs. > > That's right up there with: > > TM FLAGBYTE,MYFLAG > BZ around > NI FLAGBYTE,255-MYFLAG > around ... >

Re: Subjectify my objectivity

2010-08-14 Thread robin
On 8/13/2010 11:22 PM, Ott, Jeff wrote: SR R1,R1 LH R1,STUFF is one of my favs. Probably he was thinking of (or used) IC, then changed to LH.

Re: Subjectify my objectivity

2010-08-13 Thread Gerhard Postpischil
On 8/13/2010 11:22 PM, Ott, Jeff wrote: SR R1,R1 LH R1,STUFF is one of my favs. That's right up there with: TM FLAGBYTE,MYFLAG BZ around NI FLAGBYTE,255-MYFLAG around ... Gerhard Postpischil Bradford, VT

Re: Subjectify my objectivity

2010-08-13 Thread Ott, Jeff
SR R1,R1 LH R1,STUFF is one of my favs. -Original Message- From: IBM Mainframe Assembler List [mailto:assembler-l...@listserv.uga.edu] On Behalf Of Hall, Keven Sent: Friday, August 13, 2010 8:12 PM To: ASSEMBLER-LIST@LISTSERV.UGA.EDU Subject: Subjectify my objectivity I grow

Subjectify my objectivity

2010-08-13 Thread Hall, Keven
I grow weary of all this talk about parameter-passing and type-checking. Get coding and let the details resolve themselves in mnemonic prose. I saw this recently and felt compelled to share it (edited to relieve it of context). MVC DSNTOUSE,THISDSNSet up to use This DSN