Yeah, I whined on IBM-MAIN on Dec. 27 about not being able to use a relocatable 
address in LLILF. Same answer. It does not work because ... it does not work.

Charles

-----Original Message-----
From: IBM Mainframe Assembler List [mailto:[email protected]] On 
Behalf Of Steve Smith
Sent: Wednesday, February 22, 2017 4:04 PM
To: [email protected]
Subject: Re: HLASM anomaly

That's just the way it is... i.e. there is no reason.

DC supports a whole bunch of stuff that immediate operands do not.
Sometimes, you just have to ORG *-2 (or 4), and DC it.  Be careful with 
f-word-aligned data!

e.g.:
 CNOP 2,4
 LLILF R15,*
 ORG *-4
 DC V(EXTRTN1)
 BASSM R14,R15

AFAIK, you could use VL4 and skip the CNOP.  Anyway, I don't think there's any 
alternative to the above that doesn't use more storage or instructions.  Yet 
it's illegal ;-).

sas

On Wed, Feb 22, 2017 at 4:18 PM, Melvyn Maltz <[email protected]>
wrote:

> Immediate operands won't accept a duplication factor...why not ?
> Can't find a reason in the HLASM manual
>
> Try these...
> CFI R1,4X'FF'
> CFI R1,X'FFFFFFFF'
> CFI R1,-1
> AHI R1,2X'FF'
> AHI R1,X'FFFF'
> AHI R1,-1
>
> Melvyn Maltz
>



--
sas

Reply via email to