PDP-8 Code Optimization (was Re: HP-35/45 Simulator for PDP-8)

Vincent Slyngstad v.slyngstad at frontier.com
Wed Sep 14 11:02:15 CDT 2016


From: Pete Turnbull: Wednesday, September 14, 2016 7:20 AM
> ISZ ovfsum        / if yes, 3777 -> 4000 (MIN INT)
> CLA               / really a NOP

You should be able to remove the CLA, as that ISZ won't skip 
and the AC is already clear.

Yours is definitely better, I think, as the XOR business didn't help 
the readability either.

    Vince 


More information about the cctalk mailing list