On 31 May 2011 14:28, Farley, Peter x23353 <[email protected]> wrote:
> I hope you can help me with an assembler error I haven't seen before. > > I had thought that the following would be a legal syntax for multiple-operand continued DC statements, but HLASM is complaining about it. > Here is what the source looks like: > > DC A(0),CL7'NAME1 ',X'00',X'09',X'03',AL1(typ_X), X > AL1(0+bitFlag1+bitFlag222+bitFlag3333+bitFlag44444), X > AL1(0+bitFlag5555555),AL1(0),AL1(0+bitF6),AL1(0) That extended continuation syntax is valid only for macro invocations. :-( > Why isn't this format legal? Do I have to format it the following way to be legal as a single DC statement? I find this format > unreadable and thus not maintainable, but the assembler does not complain about it: > > DC A(0),CL7'NAME1 ',X'00',X'09',X'03',AL1(typ_X),AL1X > (0+bitFlag1+bitFlag222+bitFlag3333+bitFlag44444),AL1(0+bX > itFlag5555555),AL1(0),AL1(0+bitF6),AL1(0) Yup - ugly, isn't it. > Please help cure my ignorance (or memory failure) here. Wrap it with your own macro. That'll have its own tricks, too, but it's doable. Tony H.
