On May 26, 2012, at 18:28, John Ehrman wrote:

>> So, HLASM is apparently very good at inferring the length of
>> the first argument to CLC at Pass 2, when it's needed, even in
>> the challenging case of a previously unreferenced literal.
>
> By pass 2, the literal is well established, so it's not a challenge by
> then.
>
Now, I'm truly mystofo
> Could you clarify
>
>> What I think would be most useful is a new
>> BIF, to return the length of an argument, ...
>
> I'm not sure if by "argument" you mean an operand of a machine instruction
> statement like CLC (would L' work?), or an argument to a macro (would K'
> work?), or something else?
>
> This works OK for almost all cases that don't require recursion or multiple
> passes:
>
> X       DC      CL(L'Another_Symbol)'value'
>
> John Ehrman

Reply via email to