🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.arch
Article #582

Re: carry-in (was: two's complement and Flags)

#582
From: George Neuner
Date: Sun, 08 Nov 2026 07:55
25 lines
2467 bytes
On Sat, 7 Nov 2026 22:33:05 -0000 (UTC), Lawrence D´Oliveiro
<ldo@nz.invalid> wrote:

>On Sat, 07 Nov 2026 07:41:34 GMT, Anton Ertl wrote:
>
>> The 6502 was also designed to be extremely cheap, and it was
>> designed to be so cheap that it does not even support 16-bit-wide
>> ALU operations despite having 16-bit addresses, but it does include
>> carry-in.
>
>I think the only 16-bit address arithmetic operation needed was adding
>1 to the program counter. All the index registers were 8-bit; even the
>stack pointer was 8-bit, so there was no need for 16-bit arithmetic on
>that (beyond prepending a fixed high byte of 1 to construct the
>current top-of-stack address).

All the 6502's indexed addressing modes required 16-bit arithmetic.  


>> The VAX has ADWC, which is a full add with carry-in and carry-out, so
>> the minis eventually learned the lesson, shortly after the micros, and
>> a lot of years before the mainframes.
>
>Obviously such a feature had no value in mainframe COBOL “business”
>programming, did it ... ?
Technical Details
Message-ID: <r6a0fldl8i2ssj7nvlml4pleumiq827vuc@4ax.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
References: <10uks4f$1dqo$1@gal.iecc.com> <6ae8eec0.35320218@news.eternal-september.org> <11cjh58$1flq$4@gal.iecc.com> <2026Nov6.072410@mips.complang.tuwien.ac.at> <11cl9d6$464$1@gal.iecc.com> <2026Nov7.084134@mips.complang.tuwien.ac.at> <11co8v0$3rm07$3@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!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
From: George Neuner <gneuner2@comcast.net>
Newsgroups: comp.arch
Subject: Re: carry-in (was: two's complement and Flags)
Date: Sun, 08 Nov 2026 02:55:30 -0500
Organization: A noiseless patient Spider
Lines: 25
Message-ID: <r6a0fldl8i2ssj7nvlml4pleumiq827vuc@4ax.com>
References: <10uks4f$1dqo$1@gal.iecc.com> <6ae8eec0.35320218@news.eternal-september.org> <11cjh58$1flq$4@gal.iecc.com> <2026Nov6.072410@mips.complang.tuwien.ac.at> <11cl9d6$464$1@gal.iecc.com> <2026Nov7.084134@mips.complang.tuwien.ac.at> <11co8v0$3rm07$3@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 08 Nov 2026 07:55:33 +0000 (UTC)
Injection-Info: dont-email.me;
	logging-data="161041"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX18fMD5REvcmt49vCJr3qfFcFBqQzLNz9kY="; posting-host="4cbe7cdac90406cd8f1a90f70e7a2560"
User-Agent: ForteAgent/8.00.32.1272
Cancel-Lock: sha1:tF/hv7XRlIvL4TPETv6qkbwW8Dg= sha256:YxlADef3QLcKY28lTVq9dsIH663vyk3dJmPbSaMGoW4=
	sha1:D3eeecQZ4AXPeXAghJiN1Oa/e8w= sha256:/mz+Wx1W6G9SJ/P2XPeEXcXP17kBOg34n5ZILo+CbJU=