It would certainly be valid. The effect of

          USING MY0004-24,R3

would be that MY0004+foo would get a displacement of foo=24 and an index of R3.

--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3
עַם יִשְׂרָאֵל חַי
נֵ֣צַח יִשְׂרָאֵ֔ל לֹ֥א יְשַׁקֵּ֖ר

________________________________________
From: IBM Mainframe Assembler List <[email protected]> on behalf 
of Paul Gilmartin <[email protected]>
Sent: Tuesday, February 27, 2024 8:56 AM
To: [email protected]
Subject: Re: Why am I getting ASMA145E (was Re: Macro parameters: parsing a 
relocatable address)

On 2/27/24 05:21:41, Seymour J Metz wrote:
> Because 24(R3) is not an expression. The second operand of the USING must be 
> either a register number or a relocatable expression.
>  .
Rather than
          USING MY0004,24(R3)
would
          USING MY0004-24,R3
have the desired effect?

--
gil

Reply via email to