I mentioned that issue with regard to a different example (that used storage 
references, for example, where the current architecture would allow TMLH and 
LLILF instead) to an IBMer whose name you would recognize in an instant. I 
offered to supply a better example and submit it as an RCF if he would vet it. 
He was adamant that he had zero interest in such an endeavor.

I guess good enough is good enough. It's an algorithm, not a programming class.

Charles


-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf 
Of Steve Smith
Sent: Wednesday, July 19, 2017 2:59 PM
To: [email protected]
Subject: Re: Curious about IBM time conversion example program

Bill's suggestion is a vast improvement.  But I can't understand why IBM 
publishes examples that seem to be written (by a student) for System/360.
Not to mention that actually dividing by 2 was naive even then.

Convert the code to use this new thing, 64-bit registers, and you'll need half 
the instructions and none of the silly games.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to