In a recent note, Greg Smith said:

> Date:         Wed, 6 Jul 2005 12:26:01 -0400
> 
>   ds 0d
> a ds 12x
> b ds 16x
> But if I code
> 
>    mvc b(16),a
> 
> the overlap is destructive (ie b won't necessarily be an exact copy of
> a).  Would a
> concurrent copy occur?   (in this case, a concurrent copy could occur
> without affecting
> the result).
> 
No.  I believe the "destructive" character of the overlap has long
been part of the specification of MVC.  In particular, programmers
of old were accustomed to blanking out a buffer with:

    MVI C' ',A
    MVC A+1(L'A'-1),A

(before padding MVCL).

-- gil
-- 
StorageTek
INFORMATION made POWERFUL

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to