<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
On 7/13/24 10:25, Dan Cross wrote:<br>
<blockquote type="cite"
cite="mid:CAEoi9W6HigCTHyrcFO5xMRDctaKj762o1fhMq5RgJsguF06bdA@mail.gmail.com">
<pre class="moz-quote-pre" wrap="">On Sat, Jul 13, 2024 at 5:57 AM Ralph Corderoy <a class="moz-txt-link-rfc2396E" href="mailto:ralph@inputplus.co.uk"><ralph@inputplus.co.uk></a> wrote:
</pre>
<blockquote type="cite">
<pre class="moz-quote-pre" wrap="">John and Paul wrote:
</pre>
<span style="white-space: pre-wrap">
</span>
<pre class="moz-quote-pre" wrap="">Well, doesn't it depend on whether VAX MACRO kept the macros as
high-level entities when translating them, or if it processed macros in
the familiar way into instructions that sat at the same level as
hand-written ‘assembler’. I don't think this thread has made that clear
so far.
</pre>
</blockquote>
</blockquote>
<br>
The DEC assemblers [sic] for the PDP-11 and VAX-11 did macro
expansion as text substitution.<br>
<br>
AA-V027A-TC PDP-11 MACRO-11 Language Reference Manual<br>
Section 7.1 (PDF file p 115, original document p 7-1) says<br>
"Macro expansion is the insertion of the macro source lines into the
main program."<br>
Note: This manual also discusses concatenation with macro arguments
and (on p 120 or p 7-6) macros that define other macros.<br>
<br>
AA-D032B-TE VAX-11 MACRO Language Reference Manual<br>
The beginning of chapter 6 (p 119 or p 6-1) says the same thing.<br>
<br>
At least in those assemblers, macros were not inline procedures.<br>
<br>
Google can find manuals for other assemblers. For even earlier
history, see<br>
<a class="moz-txt-link-freetext" href="https://github.com/PDP-10/its/issues/2032">https://github.com/PDP-10/its/issues/2032</a><br>
<a class="moz-txt-link-freetext" href="http://www.bitsavers.org/pdf/mit/rle_pdp1/memos/PDP-1_MIDAS.pdf">http://www.bitsavers.org/pdf/mit/rle_pdp1/memos/PDP-1_MIDAS.pdf</a><br>
<br>
</body>
</html>