[COFF] machine code translation,as mental architecture models

Aron Insinga aki at insinga.com
Sun Jul 14 11:04:47 AEST 2024


I think this is correctly patched:


On 7/13/24 19:46, John Levine wrote:
>> Aron Insinga<aki at insinga.com>  said:
>>
>> 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 looked at the manual and I think he's misreading it. The "words" in
question are the tokens in the macro definition.

The example macros look pretty straightforward, instructions and
pseudo-ops that are expanded replacing dummy arguments by actual ones.
There's no conditional assembly so each macro is just a parameterized
chunk of code.

https://bitsavers.org/pdf/dec/pdp1/PDP-1_Macro.pdf

R's,
John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.tuhs.org/pipermail/coff/attachments/20240713/73b5a873/attachment-0001.htm>


More information about the COFF mailing list