On 2018-05-05, at 06:33:31, Don Higgins wrote:
> 
> Here is a way to code the literal that works on z390 and I think will work
> on HLASM:
> 
> TEST CSECT
>     USING *,15
>     MVC   D8,=AL1(0,0,1,0,2,0,0,3)
>     ABEND 1
> D8   DC    XL8'FF'
>     END
> 
> I ran it on Windows 10 with z390 GUI with ASMLG and DUMP option on to verify
> 8 byte literal is moved to D8 before issuing ABEND.
>  
Suppose the three operands are EQUated symbols whose values are not
known at coding time and may exceed 8 bits?

> -----Original Message-----
> 
>> I'm wondering if I can avoid coding the DC statement, and do something 
>> like this instead (I know this syntax is wrong):
>> 
>>         MVC   0(8,R1),=(AL3(1),AL2(2),AL3(3))

If you use LOCTR for this sort of thing, beware of slack bytes.

-- gil

Reply via email to