From mboxrd@z Thu Jan 1 00:00:00 1970 From: imp@bsdimp.com (Warner Losh) Date: Wed, 14 Feb 2018 09:56:44 -0700 Subject: [TUHS] pdp-11 assembly as a hll? In-Reply-To: References: Message-ID: On Wed, Feb 14, 2018 at 9:03 AM, Paul Winalski wrote: > On 2/13/18, 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. > > > 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: