Computer Old Farts Forum
 help / color / mirror / Atom feed
* [COFF] Re: machine code translation,as mental architecture models
@ 2024-07-13 22:00 Douglas McIlroy
  2024-07-13 23:46 ` John Levine
  0 siblings, 1 reply; 36+ messages in thread
From: Douglas McIlroy @ 2024-07-13 22:00 UTC (permalink / raw)
  To: COFF

[-- Attachment #1: Type: text/plain, Size: 342 bytes --]

> the DEC PDP-1 MACRO assembler manual says that a macro call
> is expanded by copying the *sequence of 'storage words' and
> advancing the current location (.) for each word copied*

> I am quite surprised.

I am, too. It seems that expansion is not recursive. And that it can only
allocate storage word by word, not in larger blocks.

Doug

[-- Attachment #2: Type: text/html, Size: 586 bytes --]

^ permalink raw reply	[flat|nested] 36+ messages in thread
[parent not found: <20240710203422.284BA18C077@mercury.lcs.mit.edu>]
* [COFF] Re: machine code translation,as mental architecture models
@ 2024-07-13 11:09 Douglas McIlroy
  2024-07-13 17:36 ` Paul Winalski
  0 siblings, 1 reply; 36+ messages in thread
From: Douglas McIlroy @ 2024-07-13 11:09 UTC (permalink / raw)
  To: COFF

[-- Attachment #1: Type: text/plain, Size: 882 bytes --]

> 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.

The Multics case that I cited was definitely in the latter category.
There was no "translator". Effectively there were just two different
macro packages applied to the same source file.

In more detail, there were very similar assemblers for the original
IBM machines and the new GE machines. Since they didn't have
"include" facilities, there were actually two source files that differed
only in their macro definitions. The act of translation was to supply
the latter set of definitions--a notably larger set than the former
(which may well have been empty).

Doug

[-- Attachment #2: Type: text/html, Size: 1129 bytes --]

^ permalink raw reply	[flat|nested] 36+ messages in thread

end of thread, other threads:[~2024-07-15 14:09 UTC | newest]

Thread overview: 36+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-07-13 22:00 [COFF] Re: machine code translation,as mental architecture models Douglas McIlroy
2024-07-13 23:46 ` John Levine
2024-07-14  0:54   ` Dan Cross
2024-07-14  1:04     ` Aron Insinga
2024-07-14  0:56   ` Aron Insinga
2024-07-14 18:02     ` [COFF] Re: ancient macros, " John Levine
2024-07-15  1:44       ` Aron Insinga
2024-07-15 14:09         ` Paul Winalski
     [not found] <20240710203422.284BA18C077@mercury.lcs.mit.edu>
     [not found] ` <20240710212641.E24548F5C32C@ary.qy>
2024-07-11  1:29   ` [COFF] Re: [TUHS] " Dan Cross
     [not found]     ` <18977302-8934-ec96-9154-b3c53824e506@taugh.com>
2024-07-11  2:05       ` Dan Cross
2024-07-11 16:50         ` Paul Winalski
2024-07-12 16:23           ` John R Levine
2024-07-12 16:51             ` [COFF] " Paul Winalski
2024-07-12 17:02               ` John R Levine
2024-07-12 20:52                 ` Dave Horsfall
2024-07-12 22:03                   ` John Levine
2024-07-13  0:25                     ` Aron Insinga
2024-07-13  0:27                     ` Dave Horsfall
2024-07-13  1:19                     ` Paul Winalski
     [not found]                 ` <CABH=_VS8z6ayJSQab0u5Cxw--hM8px8-eFGjeFCKTXxe <alpine.BSF.2.21.9999.2407131018370.6233@aneurin.horsfall.org>
2024-07-13  2:25                   ` John Levine
2024-07-13  9:57                 ` [COFF] Re: machine code translation, as " Ralph Corderoy
2024-07-13 14:25                   ` Dan Cross
2024-07-13 17:27                     ` Aron Insinga
2024-07-12 17:03               ` [COFF] Re: machine code translation,as " Stuff Received
2024-07-12 18:01                 ` Paul Winalski
2024-07-12 20:35                   ` John Levine
2024-07-13  9:26                     ` [COFF] Re: machine code translation, as " Ralph Corderoy
2024-07-12 18:54               ` [COFF] Re: machine code translation,as " Aron Insinga
2024-07-12 21:49                 ` Dave Horsfall
     [not found]           ` <20240710203422.284BA18C077@mercury.lcs. <20240713095708.203D5220C9@orac.inputplus.co.uk>
2024-07-13 18:50             ` [COFF] Re: machine code translation, as " John Levine
2024-07-13 19:27               ` Paul Winalski
2024-07-13 19:42               ` Dan Cross
2024-07-14  1:09                 ` Aron Insinga
2024-07-14  1:46                 ` Aron Insinga
2024-07-14 16:16                 ` Paul Winalski
  -- strict thread matches above, loose matches on Subject: below --
2024-07-13 11:09 [COFF] Re: machine code translation,as " Douglas McIlroy
2024-07-13 17:36 ` Paul Winalski
2024-07-13 21:05   ` Aron Insinga
2024-07-14 15:55     ` Paul Winalski
2024-07-14 17:29       ` G. Branden Robinson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).