Your guess is incorrect. The notes you were reading explain what causes an
operation exception and what causes a specification exception.  As shown,
your instruction would not get a specification exception, as the relative
address is full-word aligned.

Regardless, instructions only require half-word alignment.  And you know
how to get full-word alignment; just apply it to your operand.

However, I have no idea where that message came from, or how accurate it is.

sas


On Fri, Apr 30, 2021 at 3:35 PM Stanislawski, Shawn (National VM
Capability) <[email protected]> wrote:

> Trying to use the LRL(32) instruction ('C4D' / 'C4xD' opcode).
> But running into: DMSABE141T Operation exception
>
>  -> 00DF5124  LRL     C45D00006832    00000000
>
> *** 00DF5124      PROG    0001 -> 0139B660        OPERATION
>
> Reading in the "zArchitecture Principles of Operation" (SA22-7832-12) =
> "For LOAD RELATIVE LONG (LRL, LGFRL), the second operand must be aligned on
> a word boundary,..."
> Guessing alignment is the problem.
> I know I can use a DS 0F to start the LRL instruction itself on a word
> boundary,
> but any ideas how to ensure that specifically the second operand of the
> LRL instruction will always be aligned on a word boundary?
>
>
> --Shawn S.
>

Reply via email to