From: imp@bsdimp.com (Warner Losh)
Subject: [TUHS] pdp-11 assembly as a hll?
Date: Tue, 13 Feb 2018 22:12:50 -0700 [thread overview]
Message-ID: <CANCZdfo8VuodXcYL5TcybAn7f0npH056DCoXuTkwbwuj-9seBA@mail.gmail.com> (raw)
In-Reply-To: <alpine.BSF.2.21.1802141410550.5573@aneurin.horsfall.org>
On Tue, Feb 13, 2018 at 8:18 PM, Dave Horsfall <dave at horsfall.org> wrote:
> On Tue, 13 Feb 2018, Warner Losh wrote:
>
> I don't suppose anybody has written a pdp-11 assembler to C translator...
>> My google fu is insufficient for the day.
>>
>
> I'd like to see it handle "JSR PC,@(SP)+"... Are you reverse-engineering
> something, writing a PDP-11 simulator, or what?
I was wondering what it would take to convert the v6/v7 basic program into
something that can be run today.
http://www.tuhs.org/cgi-bin/utree.pl?file=V6/usr/source/s1/bas.s
or
http://www.tuhs.org/cgi-bin/utree.pl?file=V7/usr/src/cmd/bas/bas.s
Its 2128 lines. It doesn't have that fun instruction in it :)
Warner
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://minnie.tuhs.org/pipermail/tuhs/attachments/20180213/6ba627f7/attachment.html>
next prev parent reply other threads:[~2018-02-14 5:12 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 [this message]
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
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=CANCZdfo8VuodXcYL5TcybAn7f0npH056DCoXuTkwbwuj-9seBA@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).