[TUHS] pdp-11 assembly as a hll?

Warner Losh imp at bsdimp.com
Thu Feb 15 02:56:44 AEST 2018


On Wed, Feb 14, 2018 at 9:03 AM, Paul Winalski <paul.winalski at gmail.com>
wrote:

> On 2/13/18, Warner Losh <imp at bsdimp.com> wrote:
> > I don't suppose anybody has written a pdp-11 assembler to C translator...
> > My google fu is insufficient for the day.
> >
> Or you could write a compiler that translates PDP-11 assembler to LLVM
> intermediate language.  That was the technique used to port VMS to the
> DEC Alpha and Intel Itanium.  A lot of VMS was in VAX assembler, so
> DEC's compiler group wrote a compiler that took in VAX assembler and
> generated IL for the GEM back end used by all of DEC's Alpha and
> Itanium compilers.
>

Yea, I was kinda hoping someone else had already done the translation for
basic. But it actually looks to be from v5, using the v5 calling
conventions and library routines now that I have had a chance to study it.

Warner
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://minnie.tuhs.org/pipermail/tuhs/attachments/20180214/c8463928/attachment.html>


More information about the TUHS mailing list