From: "Paul Raulerson" <paul.rauler...@me.com>
Sent: Tuesday, February 06, 2018 2:53 PM


On Feb 5, 2018, at 7:29 PM, Robin Vowels <robi...@dodo.com.au> wrote:

From: "Bernd Oppolzer" <bernd.oppol...@t-online.de>
Sent: Tuesday, February 06, 2018 1:23 AM

Am 05.02.2018 um 14:42 schrieb Gord Tomlin:
And, BTW, the historic facts are simply wrong:
IBM had a C compiler for MVS (and VM, I believe) long before there were
string instructions on z/Arch.

MVC, CLC, MVCL, CLCL, MVO, MVN, ED, EDMK, TR, TRT
are all string instructions. Most of these were available in 1965 with the
S/360.  Long before C.

Oh my - but no.

But yes.  These instructions process character strings, that is, strings of one
or more characters.
In the cases of MVCL and CLCL, these also handle zero-length strings.

These are >character< operators, not string operators.

There are instructions, not operators.

Much more akin to C’s memcpy() than anything else. (Yes, memcpy() was built, in part, to emulate them.)

CLST, CUSE, MVST,  SRTST, and the later generations of these and other
instructions work on strings. Albeit, I think the definition of “string” in
this case is a little dodgy.


---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus

Reply via email to