🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.arch
Article #538

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

#538
From: John Levine
Date: Wed, 04 Nov 2026 18:20
17 lines
1999 bytes
According to Thomas Koenig  <tkoenig@netcologne.de>:
>> Of course, the paper doesn't explain why the requirement for symmetry 
>> seemed to go away and two's complement became acceptable.
>
>The IBM 704 compared -0 as smaller than +0...

Te CAS compared the AC to storage and skipped 0, 1, or 2, instructions if
the storage was less, equal, or greater than the AC, and it says +0 was
greater than -0.  On the other hand, if you subtracted and then did a
TZE or TNZ transfer on zero/nonzero instruction it ignored the sign.

I have not looked at enough 70x code to know what programmers really did.

-- 
Regards,
John Levine, johnl@taugh.com, Primary Perpetrator of "The Internet for Dummies",
Please consider the environment before reading this e-mail. https://jl.ly
Technical Details
Message-ID: <11cft1m$72$1@gal.iecc.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!weretis.net!feeder9.news.weretis.net!news.misty.com!news.iecc.com!.POSTED.news.iecc.com!not-for-mail
References: <10uks4f$1dqo$1@gal.iecc.com> <1791071365-5857@newsgrouper.org> <11cai8f$32ue7$1@dont-email.me> <11cfs7h$tkeb$2@dont-email.me>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!weretis.net!feeder9.news.weretis.net!news.misty.com!news.iecc.com!.POSTED.news.iecc.com!not-for-mail
From: John Levine <johnl@taugh.com>
Newsgroups: comp.arch
Subject: Re: two's complement and Flags (Re: arithmetic and endian history)
Date: Wed, 4 Nov 2026 18:20:38 -0000 (UTC)
Organization: Taughannock Networks
Message-ID: <11cft1m$72$1@gal.iecc.com>
References: <10uks4f$1dqo$1@gal.iecc.com> <1791071365-5857@newsgrouper.org> <11cai8f$32ue7$1@dont-email.me> <11cfs7h$tkeb$2@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 4 Nov 2026 18:20:38 -0000 (UTC)
Injection-Info: gal.iecc.com; posting-host="news.iecc.com:2001:470:1f07:1126:0:676f:7373:6970";
	logging-data="226"; mail-complaints-to="abuse@iecc.com"
In-Reply-To: <10uks4f$1dqo$1@gal.iecc.com> <1791071365-5857@newsgrouper.org> <11cai8f$32ue7$1@dont-email.me> <11cfs7h$tkeb$2@dont-email.me>
Cleverness: some
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
Originator: johnl@iecc.com (John Levine)