🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.arch
Article #551

Re: two's complement and Flags (Re: arithmetic and endian history)

#551
From: Scott Lurndal
Date: Fri, 06 Nov 2026 15:28
23 lines
2044 bytes
John Levine <johnl@taugh.com> writes:
>According to John Savard <quadibloc@invalid.com>:
>>They also made an 18-bit computer, the PDP-4 (which had compatible
>>successors in the PDP-9 and PDP-15) which had a set of one's
>>complement instructions and an additional set of two's complement
>>instructions. I guess that let those machines act as bridges between
>>hardware which was either one way or the other.
>
>The DEC Computer Engineering book says that the PDP-4 was designd to
>be a lower cost PDP-1, 5/8 of the performance for half the cost. They
>added two's complement arithmetic because the users wanted to do
>multiple precision and floating point arithmetic with more than 18
>bits which is a lot easier to do in two's complement. It also added a
>"link" bit to hold the carry out of the accumulator, and instructions
>to test it so you could do something like this for a two word addition
>
>  CLA A / low part
>  TAD B / carry is in the link bit
>  DAC C

Was this mnemonic really DAC?  For the PDP-8, it was DCA
(Deposit and Clear Accumulator).
Technical Details
Message-ID: <4mmHS.316761$_pxc.39330@fx17.iad>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx17.iad.POSTED!not-for-mail
References: <10uks4f$1dqo$1@gal.iecc.com> <11cai8f$32ue7$1@dont-email.me> <11caljv$jeo$1@gal.iecc.com> <6ae8eec0.35320218@news.eternal-september.org> <11cjh58$1flq$4@gal.iecc.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx17.iad.POSTED!not-for-mail
X-newsreader: xrn 9.03-beta-14-64bit
Sender: scott@dragon.sl.home (Scott Lurndal)
From: scott@slp53.sl.home (Scott Lurndal)
Reply-To: slp53@pacbell.net
Subject: Re: two's complement and Flags (Re: arithmetic and endian history)
Newsgroups: comp.arch
References: <10uks4f$1dqo$1@gal.iecc.com> <11cai8f$32ue7$1@dont-email.me> <11caljv$jeo$1@gal.iecc.com> <6ae8eec0.35320218@news.eternal-september.org> <11cjh58$1flq$4@gal.iecc.com>
Lines: 23
Message-ID: <4mmHS.316761$_pxc.39330@fx17.iad>
X-Complaints-To: abuse@usenetserver.com
NNTP-Posting-Date: Fri, 06 Nov 2026 15:28:00 UTC
Organization: UsenetServer - www.usenetserver.com
Date: Fri, 06 Nov 2026 15:28:00 GMT
X-Received-Bytes: 1812