The single millicoded z/Architecture machine instruction CHECKSUM, CKSM, documented on page 7-45 of the current PrOp, would have been a much better choice than your loop; but it would not, of course, have been nearly so much fun.
John Gilmore, Ashland, MA 01721 - USA
