Re: a compembler for x86 that looks nearly portable

rickh@capaccess.org (Rick Hohensee)
28 Jan 2002 01:13:27 -0500

          From comp.compilers

Related articles
a compembler for x86 that looks nearly portable rickh@capaccess.org (2002-01-07)
Re: a compembler for x86 that looks nearly portable RLWatkins@CompuServe.Com (R. L. Watkins) (2002-01-13)
Re: a compembler for x86 that looks nearly portable rickh@capaccess.org (2002-01-17)
Re: a compembler for x86 that looks nearly portable RLWatkins@CompuServe.Com (R. L. Watkins) (2002-01-24)
Re: a compembler for x86 that looks nearly portable rickh@capaccess.org (2002-01-28)
Re: a compembler for x86 that looks nearly portable rickh@capaccess.org (2002-01-28)
Re: a compembler for x86 that looks nearly portable david.thompson1@worldnet.att.net (David Thompson) (2002-02-06)
| List of all articles for this month |
From: rickh@capaccess.org (Rick Hohensee)
Newsgroups: comp.compilers
Date: 28 Jan 2002 01:13:27 -0500
Organization: http://groups.google.com/
References: 02-01-038 02-01-043 02-01-074 02-01-125
Keywords: history
Posted-Date: 28 Jan 2002 01:13:27 EST

"R. L. Watkins" <RLWatkins@CompuServe.Com> wrote in message news:02-01-125...
> Yes. The same thing might be said for parts of the PDP-11 / WD-16
> instruction set, on which Macro 11 is based. Most useful seem to be the
> ones they have in common.
>
(talking about portability layers and machine models)


I found a programmer's cheatsheet for MACRO-11 at
www.spies.com/arcade/simulation/cpuRefCards/Macro-11


Fascinating. It does afford some portability, but not at the register
level, it seems. It also clearly is a good portion of the "machine" C
models. C strings for example are predicted in MACRO-11 thus...


|.ASCIZ /string/ |ASCII string with Zero byte terminator |


(osimplay BTW does cell-prefixed arbitrary data ranges, NOT those
hideous .ASCIZ things.) As C probably originated as a pre-processor
to MACRO-11, and as GNU Gas is similar to MACRO-11, I found that one
can write the data structure of a Forth dictionary entirely in the
assembler, such as MACRO-11. opcodes are distinctly more
problematic. While looking for some MACRO-11 stuff I saw in the PDP
FAQ though that it was astoundingly prepotent (it's offspring resemble
it). There's portable assembly in there SOMEWHERE. :o)


Hmmm, was MACRO-11 code portable across the PDPs?


Rick Hohensee
[Macro-11 was an assembler for the PDP-11, which was utterly unlike the
PDP 1, 4, 5, 6, 7, 8, 9, 10, 12, 14, or 15. The Vax was somewhat like
a stretched -11, but the assemblers were quite different. -John]



Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.