From: imp@bsdimp.com (Warner Losh)
Subject: [TUHS] pdp-11 assembly as a hll?
Date: Wed, 14 Feb 2018 09:56:44 -0700 [thread overview]
Message-ID: <CANCZdfrBp0wcc1o_3wW4YsS_5fH+QUtJe-e0UivLWcgfK_32nA@mail.gmail.com> (raw)
In-Reply-To: <CABH=_VRbiuUBVuNHCPq2WjQkU3R5H+q8JCa0XySDDzvf59hP0Q@mail.gmail.com>
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>
next prev parent reply other threads:[~2018-02-14 16:56 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-14 1:08 Warner Losh
2018-02-14 3:18 ` Dave Horsfall
2018-02-14 5:12 ` Warner Losh
2018-02-14 6:43 ` Dave Horsfall
2018-02-14 7:27 ` Bakul Shah
2018-02-14 7:28 ` Ian Zimmerman
2018-02-14 16:03 ` Paul Winalski
2018-02-14 16:56 ` Warner Losh [this message]
2018-02-14 8:41 Paul Ruizendaal
2018-02-14 13:15 Noel Chiappa
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CANCZdfrBp0wcc1o_3wW4YsS_5fH+QUtJe-e0UivLWcgfK_32nA@mail.gmail.com \
--to=imp@bsdimp.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).