Re: Fair comparison C vs HLASM - Thank you Kirk Wolf

2018-01-31 Thread Steve Hobson
mally does not have -- an increasingly polyglot programming army to look after it. Steve Hobson IBM Mainframe Assembler List <ASSEMBLER-LIST@LISTSERV.UGA.EDU> wrote on 31/01/2018 13:09:59: > From: Tom Marchant <00a69b48f3bb-dmarc-requ...@listserv.uga.edu> > To: ASSEMBLER-LIST

Re: Structured Programming Macros

2016-05-18 Thread Steve Hobson
up to 4 k of local >static variables FWIW, if you can use the long-displacement instuctions then you can access a pretty much unlimited amount of local static with one base register. Best regards, Steve Hobson CICS Strategy, HLASM Development, Master Inventor IBM United Kingdom Limited

Re: Arbitrary string in SYSPARM (or alternative?)

2016-02-05 Thread Steve Hobson
the HLASM team's resources. Best regards, Steve Hobson CICS Strategy, HLASM Development Je me presse de rire de tout, de peur d'être obligé d'en pleurer IBM Mainframe Assembler List <ASSEMBLER-LIST@LISTSERV.UGA.EDU> wrote on 04/02/2016 19:21:28: > From: Dave Rivers <riv..

Re: Arbitrary string in SYSPARM (or alternative?)

2016-02-04 Thread Steve Hobson
published atm. Best regards, Steve Hobson HLASM development Je me presse de rire de tout, de peur d'être obligé d'en pleurer IBM Mainframe Assembler List <ASSEMBLER-LIST@LISTSERV.UGA.EDU> wrote on 02/02/2016 23:06:37: > From: Paul Gilmartin <0014e0e4a59b-dmarc-requ...@list

Re: Redesigning the Principles of Operation Manual

2014-11-14 Thread Steve Hobson
of S/360 PoPs because not all S/360 machines had the decimal instructions. (They did all have the fixed-point instruction set, obviously.) Best regards, Steve Hobson Je me presse de rire de tout, de peur d'être obligé d'en pleurer Unless stated otherwise above: IBM United Kingdom Limited

Re: Macro to generate DS or DC

2014-10-02 Thread Steve Hobson
is often useful as a kind of commentary that indicates the usage. A product I worked on for many years had a standard that mandated use of DC rather than DS except for cases where DC doesn't work (very long fields, mainly). Best regards, Steve Hobson Je me presse de rire de tout, de peur d'être

Re: How to assign length of generated instructions to macro variable?

2014-08-21 Thread Steve Hobson
' 6 END I guess length specifier overrides 0 duplication factor, which overrides NOALIGN option. This isn't entirely clear -- should the order of the sections in the manual make it so? Good point! I'll pass it on to the relevant authorities :) Best regards, Steve

Re: How to assign length of generated instructions to macro variable?

2014-08-19 Thread Steve Hobson
I've been told that DS 0AL4(...) forces fullword alignment, which may sometimes be undesirable. Nope. Length qualifier turns off alignment (in all cases, AFAIK) Best regards, Steve Hobson Je me presse de rire de tout, de peur d'être obligé d'en pleurer Unless stated otherwise above: IBM

Re: nuls vs. blank as padding characters

2014-08-05 Thread Steve Hobson
: NRx,=F'16777215' which strikes me as perverse, verging on deliberate obfuscation. Best regards, Steve Hobson Je me presse de rire de tout, de peur d'être obligé d'en pleurer Unless stated otherwise above: IBM United Kingdom Limited - Registered in England and Wales with number

Re: nuls vs. blank as padding characters

2014-08-04 Thread Steve Hobson
'A byte with bit 4 on DCC' ' A byte containing EBCDIC space DCX'40' A byte containing X'40' for some other reason Best regards, Steve Hobson Je me presse de rire de tout, de peur d'être obligé d'en pleurer Unless stated otherwise above: IBM

Re: Macros -- was: EDit mask for floating minus (negative)

2014-07-25 Thread Steve Hobson
concatenation?) It's unsafe to leave it to the original authors, especially if they are no longer with us. Do I have time to even find the macros that need attention? Is it sensible to make that investment? There are large mutipliers. Best regards, Steve Hobson Je me presse de rire de tout, de peur

Macros -- was: EDit mask for floating minus (negative)

2014-07-22 Thread Steve Hobson
to write, test, and document a macro to generate the code. That's what I prefer to do and that's what I prefer others to do in code that I work with. Why do you object to that? Best regards, Steve Hobson Je me presse de rire de tout, de peur d'être obligé d'en pleurer Unless stated otherwise above

Re: Macros -- was: EDit mask for floating minus (negative)

2014-07-22 Thread Steve Hobson
wrong with it. I just pity the poor people you work with. I'll pass that on to them if you think it'll help. Best regards, Steve Hobson Je me presse de rire de tout, de peur d'être obligé d'en pleurer Unless stated otherwise above: IBM United Kingdom Limited - Registered in England and Wales

Re: Macros -- was: EDit mask for floating minus (negative)

2014-07-22 Thread Steve Hobson
don't think it is. Do you really: regard those views as professionally disqualifying, as akin to those of flat-earthers Best regards, Steve Hobson Je me presse de rire de tout, de peur d'être obligé d'en pleurer Unless stated otherwise above: IBM United Kingdom Limited - Registered in England

Re: EDit mask for floating minus (negative)

2014-07-16 Thread Steve Hobson
1st operand - PWORK DC X'4020206B212020' Can I recommend more readable (IMHO) EDIT patterns, Something like: DIGIT EQU X'20' SIG EQU X'01' PWORK DC 0CL7,AL1(C' ',DIGIT,DIGIT,C',',DIGIT+SIG,DIGIT,DIGIT) Unless stated otherwise above: IBM United Kingdom Limited - Registered in

Re: EDit mask for floating minus (negative)

2014-07-16 Thread Steve Hobson
Oops. Forgot to sign :( Best regards, Steve Hobson CICS Strategy, HLASM Development, Master Inventor Hursley Laboratories, MP 189, Room A4126, UK Tie: 246894 International: +44 1962 81 6894 Je me presse de rire de tout, de peur d'être obligé d'en pleurer 1st operand - PWORK DC X

Re: EDit mask for floating minus (negative)

2014-07-16 Thread Steve Hobson
Mainframe Assembler List ASSEMBLER-LIST@LISTSERV.UGA.EDU wrote on 07/16/2014 10:50:31 AM: From: Steve Hobson steve_hob...@uk.ibm.com 1st operand - PWORK DC X'4020206B212020' Can I recommend more readable (IMHO) EDIT patterns, Something like: DIGIT EQU X'20' SIG EQU X'01

Re: Local Time conversion to/from UTC Time

2014-06-28 Thread Steve Hobson
You probably already know this but local time is ambiguous around when the clocks go back. That means there is typically a one hour time range each year within which the local time cannot be converted to UTC without additional information. Best regards, Steve Hobson CICS Strategy, HLASM

Re: Clearing a register

2014-06-04 Thread Steve Hobson
I remember a fastest way to clear a register discussion on a BBS at least twenty years ago. After a while someone suggested looking for the slowest instead. BCTG Ri,* is relatively slow, especially when Ri is already zero. But the winner (two instructions) was *much* slower. Best regards, Steve

Re: Out of Order and Superscalar - small experiment

2014-06-03 Thread Steve Hobson
BCT 7,Loop Best regards, Steve Hobson CICS Strategy, HLASM Development, Master Inventor Hursley Laboratories, MP 189, Room A4126, UK Tie: 246894 International: +44 1962 81 6894 Je me presse de rire de tout, de peur d'être obligé d'en pleurer Unless stated otherwise above: IBM United

Re: MVCL

2014-05-25 Thread Steve Hobson
constants area does not usually mean you need an extra register; it usually means you need less registers. Best regards, Steve Hobson CICS Strategy, HLASM Development, Master Inventor Hursley Laboratories, MP 189, Room A4126, UK Tie: 246894 International: +44 1962 81 6894 Je me presse de rire

Re: MVCL

2014-05-25 Thread Steve Hobson
(as they logically must) registers that address the data. Whether or not they are base registers doesn't make a difference to the relative parsimony of the code w/r/t registers used. Best regards, Steve Hobson CICS Strategy, HLASM Development, Master Inventor Hursley Laboratories, MP 189, Room A4126, UK

Re: MVCL (was: Right Justification Subroutine)

2014-05-21 Thread Steve Hobson
:) Best regards, Steve Hobson CICS Strategy, HLASM Development, Master Inventor Hursley Laboratories, MP 189, Room A4126, UK Tie: 246894 International: +44 1962 81 6894 Je me presse de rire de tout, de peur d'être obligé d'en pleurer Unless stated otherwise above: IBM United Kingdom Limited

Re: MVCL (was: Right Justification Subroutine)

2014-05-21 Thread Steve Hobson
, if you include MVI TARGET-1,C' ' somewhere sensible (you only need to execute it once) then you can do this, which some people think is elegant: DC C' ' TARGET DC CLn' ' . . . MVC TARGET,TARGET-1 Best regards, Steve Hobson CICS Strategy

Re: missing functionality in TRTE

2013-10-21 Thread Steve Hobson
I don't think I've ever truly leveraged RC=2 from TRT. I usually test the length remaining at the top of the loop via DOEXIT. Never leverage a short word where a long one will do. Best regards, Steve Hobson CICS Strategy, HLASM Development, Master Inventor Hursley Laboratories, MP 189, Room

Re: Baseless problem

2013-04-11 Thread Steve Hobson
symbol names were restricted (BASIC-like) to A/B/C (arithmetic, etc) G/L (global/local) then a number. Best regards, Steve Hobson Je me presse de rire de tout, de peur d'être obligé d'en pleurer Unless stated otherwise above: IBM United Kingdom Limited - Registered in England and Wales with number

Re: which instructions should I use?

2012-08-28 Thread Steve Hobson
Younger readers may like to know that years ago we would test the low two bits of R15 for zero like this: CLI *+1,B'1100' EXR15,*-4 BNE error Best regards, Steve Hobson CICS Strategy, HLASM Development, Master Inventor Hursley Laboratories, MP 189, Room A3138, UK

Re: which instructions should I use?

2012-08-28 Thread Steve Hobson
. As per the following famous enhanced version: *-4 EQU * CLI *+1,B'1100' EXR15,*-4 BNE error Best regards, Steve Hobson From: Steve Hobson steve_hob...@uk.ibm.com Sent: Wednesday, 29 August 2012 12:53 AM Younger readers may like to know that years ago we would

Re: length of DSECT

2012-08-07 Thread Steve Hobson
, identify long-standing errors that no-one noticed yet. Steve Hobson Je me presse de rire de tout, de peur d'être obligé d'en pleurer From: Paul Gilmartin paulgboul...@aim.com To: ASSEMBLER-LIST@listserv.uga.edu Date: 07/08/2012 08:16 Subject:Re: length of DSECT Sent by:IBM