On 2020-10-23, at 16:32:30, Charles Mills wrote:
> 
> Can you code an address expression with a literal? Is MVCIN TARGET,='Foo'+2 
> (or 2+='Foo', or some equivalent) valid? If so, you could embed your logic in 
> an executable SETEYE macro that would take SETEYE TARGET,'EYECATCH' and 
> generate MVCIN TARGET,='HCTACEYE'+7
>  
I believe it must be:
         MVCIN TARGET,=C'Foo'+2

What's dismaying is that Assembler prohibits for no good reason:
         DC    S(=C'Foo'+2)
... with equivalent base-displacement resolution.

> You could certainly do it generating the constant in-line, but that is a 
> cache no-no. Of course, if it only executes once per run, who cares?
>  
Agreed.

-- gil

Reply via email to