Path: csiph.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
From: Tim Rentsch
Newsgroups: comp.arch
Subject: Re: two's complement and Flags (Re: arithmetic and endian history)
Date: Fri, 02 Oct 2026 21:19:10 -0700
Organization: A noiseless patient Spider
Lines: 24
Message-ID: <86mrsvo1q9.fsf@linuxsc.com>
References: <10uks4f$1dqo$1@gal.iecc.com> <1790870670-5857@newsgrouper.org> <119n1er$1ir2$1@gal.iecc.com> <86qzi8omzj.fsf@linuxsc.com> <119n5rt$1205$1@gal.iecc.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Injection-Date: Sat, 03 Oct 2026 04:19:11 +0000 (UTC)
Injection-Info: dont-email.me; logging-data="2834329"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+PvbeYNjhSFEhmGmO9i7BwbDqOzEOt8i8="; posting-host="b0e28b4afc9fd8b2450f610d134fbfb4"
User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.4 (gnu/linux)
Cancel-Lock: sha1:kSZJ+ge4JE+WbU41R8bRx0PjngE= sha1:By0DE+Sc3i1Awakkqd6JW7pfNBg= sha256:AkmEmjGN2rm+ZZcRQJRfkDzfIhl0tRiI2RC8u8/OXAE= sha1:on21I5PQM64wa48IdBihzSajmAQ= sha256:dPRKIeyc9yDA3Jv1Fk4KzvFJiFaMPh+sbFi/dnwSxsM=
Xref: csiph.com comp.arch:118412
John Levine writes:
> According to Tim Rentsch :
>
>> John Levine writes:
>>
>>> I'm not aware of any pure two's complement machines before S/360.
>>
>> How about the PDP-4?
>
> It had both one's complement "add" and two's complement "tad".
>
> The 12-bit PDP-5 was two's complement in 1963 which was about a year
> before the S/360 announcement so I guess it qualifies. Wikipedia
> says that English Electric DEUCE in 1955 was two's comp.
>
> The PDP-4 and -5 had no condition codes. There was "link" bit that
> held carries from the accumulator, but the way you did conditional
> tests was instructions like skip if AC=0 or if AC<0.
The PDP-6 used two's complement. The design of the 6 started (and
may even have finished) before System/360 was announced. Delivery
of PDP-6 units happened well before the delivery of any model of
System/360. (All stated information taken from Wikipedia pages.)