On 2017-03-06, at 05:43, Thomas David Rivers wrote: > Pieter Wiid <[email protected]> wrote: >> >> Your USING should be USING X,R2 >> Didn't I say earlier that I'm not an Assembler programmer?
>> Then, you get this with HLASM (z/OS 2.2) >> >> 00002 1 R2 EQU 2 >> 00003 2 R3 EQU 3 >> 000000 00000 00004 3 FOO CSECT >> FFFFFF 4 X EQU X'7FFFFFFF' >> R:2 FFFFFF 5 USING X,R2 >> 000000 4130 2002 00001 6 LA R3,-X >> 7 END > Ugh - yep - you're right. > And, that's a difference from us, we get this: > > 7FFFFFFF 4 X EQU X'7FFFFFFF' > 7FFFFFFF 5 USING X,R2 > 00000000 0000 0000 00000000 6 LA R3,-X > ** DASM028E Invalid displacement > ** DASM435I Record 6 in t2.asm > > that means, for this bright Monday morning - I'll have to enter a bug. > But here, I disagree with HLASM's behavior and believe DASM is doing the right thing. Which bug will you enter? -- gil
