[Simh] Macro-11 Macro library question (RT11 running in SimH PDP11)

Johnny Billquist bqt at softjar.se
Fri Feb 5 13:37:18 EST 2016


On 2016-02-05 19:33, Johnny Billquist wrote:
> On 2016-02-05 19:28, Paul Koning wrote:
>>
>>> On Feb 5, 2016, at 1:18 PM, Johnny Billquist <bqt at softjar.se> wrote:
>>>
>>> ...
>>> Also, there might be some issues (possibly) since you use + to
>>> provide several files. I *think* that the '+' operator in general
>>> would imply that the files are concatenated together, and a comma
>>> might be a better separator to use.
>>
>> No, in the DCL command, + is correct.  The meaning of + is that you're
>> listing several files that contribute to a single output, while comma
>> means you're doing several separate operations.
>>
>> I believe the following are both legal:
>>
>> macro a,b,c
>> macro a+b+c
>>
>> The first does three assemblies: a, then b, then c, producing three
>> separate outputs; the second does a single assembly using files a, b,
>> and c as the inputs.
>
> Thanks for the clarification. I think that I said something that ends up
> meaning the same thing, but my wording was probably totally confusing.
> Either way, in this case that cannot be the problem anyway, but using
> '+' with a library file seems somewhat "odd", but that might just be me.
>
> Right now I'm curious to just get confirmed if the library file indeed
> holds the macro.

Interesting detail for those curios. In DCL under RSX, "," and "+" are 
equivalent for MACRO-11, and the name of the output will actually be the 
last file in the list.

PDP-11 C on the other hand do handle "," and "+" the way you describe 
it, Paul. (In RSX)

	Johnny

-- 
Johnny Billquist                  || "I'm on a bus
                                   ||  on a psychedelic trip
email: bqt at softjar.se             ||  Reading murder books
pdp is alive!                     ||  tryin' to stay hip" - B. Idol


More information about the Simh mailing list