> Date: Sun, 17 Aug 2014 19:07:16 -0600
> From: [email protected]
> Subject: Re: How to assign length of generated instructions to macro variable?
> To: [email protected]
>
> On 2014-08-17, at 17:53, J R wrote:
>
> > How about something like
> > START DS 0D
> > GUBBINS1 DS blah
> > GUBBINS2 DS blah
> > GUBBINS3 DS blah
> > END DS 0D
> > LENGTH DC S(END-START)
> >
> > Would not the base register cancel itself out, leaving an absolute number?
> > And, if it was inadvertently specified as S(START-END), would it not be
> > flagged as an error?
> > ===
> It will not be flagged as an error if a USING in effect allows
> resolution of S(START-END) to a base and displacement.
>
> -- gil
===
I've never used it but there seems to be a way of specifying the base,
thus: S(START-END(0)) although I don't think it's necessary.
But I'm done with this. As I said in an earlier post, I don't do this the same
way as the OP.
Feel free to keep at it!