[TUHS] pdp-11 assembly as a hll?

Warner Losh imp at bsdimp.com
Wed Feb 14 15:12:50 AEST 2018


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>


More information about the TUHS mailing list