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

Pete Turnbull pete at dunnington.plus.com
Wed Sep 14 12:15:16 CDT 2016


On 14/09/2016 17:02, Vincent Slyngstad wrote:
> 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

Of course!  LOL!  I must have spent half an hour looking at that section
thinking of ways to eliminate one more instruction!

 > and the AC is already clear.



Hence the comment :-)

-- 
Pete
Pete Turnbull


More information about the cctech mailing list