There's also MVCOS (with zero in R00 for problem state code). It also uses 2 extra registers (R00, plus a length register). I heard it was also quite slow compared to MVC, but not sure how it's performance compares to an executed MVC (or a MVC loop, plus a final executed MVC). Excluding setup, it's only a single instruction for variable length moves up to 4K.
Robert Ngan CSC Financial Services Group IBM Mainframe Assembler List <ASSEMBLER-LIST@LISTSERV.UGA.EDU> wrote on 2015/10/15 18:29:36: > From: Robin Vowels <robi...@dodo.com.au> > To: ASSEMBLER-LIST@LISTSERV.UGA.EDU > Date: 2015/10/15 18:31 > Subject: Re: Moves and others > Sent by: IBM Mainframe Assembler List <ASSEMBLER-LIST@LISTSERV.UGA.EDU> > > ----- Original Message ----- > From: "Paul Gilmartin" <00000014e0e4a59b-dmarc-requ...@listserv.uga.edu> > To: <ASSEMBLER-LIST@LISTSERV.UGA.EDU> > Sent: Friday, October 16, 2015 3:16 AM > Subject: Re: Moves and others > > > On 2015-10-15, at 08:48, Robin Vowels wrote: > > > > IBM should have produced a special EXC instruction for characters, > > that did what EX does, but accepts k, the number of bytes to move > (or compare, etc), > > tests for zero (and performs a no-op if it is), subtracts 1, and > then executes MVC. > > MVCL? > > Kind of overkill for small moves. > 4 registers! > > --- > This email has been checked for viruses by Avast antivirus software. > http://www.avast.com