Article View: comp.arch
Article #584Re: carry-in
From: Robert Finch
Date: Sun, 08 Nov 2026 12:50
Date: Sun, 08 Nov 2026 12:50
34 lines
2852 bytes
2852 bytes
On 2026-11-08 2:55 a.m., George Neuner wrote: > 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. > > Yes, the index register could reach across page boundaries. So they would at least need a carry chain. It would have been nice if the SP was 16-bit. 6809 was a bit better with the registers. >>> 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:
<11cpr6i$ajs3$1@dont-email.me>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-mailReferences:
<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> <r6a0fldl8i2ssj7nvlml4pleumiq827vuc@4ax.com>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: Robert Finch <robfi680@gmail.com> Newsgroups: comp.arch Subject: Re: carry-in Date: Sun, 8 Nov 2026 07:50:25 -0500 Organization: A noiseless patient Spider Lines: 34 Message-ID: <11cpr6i$ajs3$1@dont-email.me> 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> <r6a0fldl8i2ssj7nvlml4pleumiq827vuc@4ax.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Sun, 08 Nov 2026 12:50:27 +0000 (UTC) Injection-Info: dont-email.me; logging-data="348035"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+eCdAX4KT8REEfXVax6oCD1+M08yJR6/4="; posting-host="414ad73f35e7c7946f11f9bc1b663273" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:w+SRTfj7djFqawta6IM1BfZ38KA= sha256:3yIQP8kTGwPW8DUkVy4HG8IJrzk6c+/v2YL0mn7aHng= sha1:OaaBk4WxhiNqaxQs90ruYrkjhgg= sha256:7LkTok5zrOJSV2XHizxR0oMccVtcGRhlX7oIoNuOrGA= In-Reply-To: <r6a0fldl8i2ssj7nvlml4pleumiq827vuc@4ax.com> Content-Language: en-US