On 12/29/2012 04:59 PM, Cory Smelosky wrote:
I ported unix `cal' program from OpenBSD sources to RSX, wrote it in
MACRO-11, and got an interesting result:
OpenBSD's cal.c - 562 lines
My CAL.MAC - 490 lines
:)
That was... unexpected... :-)
To be fair, PDP-11 assembler is...well, nice. I wonder how fat it'd
be on an ungainly old x86.
Modern or older x86? ;)
There's a difference?
I mean, I know a handful of instructions were stapled onto the side
occasionally throughout the years, and x86_64 made things a BIT more
sane...brought it squarely into the late 1980s...but it's still pretty
ungainly.
-Dave
--
Dave McGuire, AK4HZ
New Kensington, PA
Show replies by date