aap wrote:
Check v10's cmd/PDP11/11as source
Thanks for the pointer! I've now surveyed all the distributions in the TUHS Unix
Tree and that's indeed the most interesting one.
The V10 PDP-11 `as` and Jay Jaeger's MXAS[0] port of Mini-Unix `as` to DOS are
the only translations of PDP-11 `as` to C and they both look to be faithful
translations, though I haven't reviewed them in depth yet.
Do you know any more about the background of the V10 PDP-11 `as`?
It's a cross-assembler on VAX and its Makefile indicates it was written by John
F. Reiser. According to Wikipedia, he did much of the work for Unix/32V,
including writing its VAX assembler ported from Interdata 8/32 Unix.
Unfortunately, the Interdata 8/32 port is not in the TUHS tree (though the
unrelated 7/32 port is).
Thalia
[0]:
https://www.tuhs.org/Archive/Distributions/USDL/Mini-Unix/mxas.tar.gz