Article View: comp.arch
Article #576Re: carry-in (was: two's complement and Flags)
From: Lawrence D’Oliveiro
Date: Sat, 07 Nov 2026 22:33
Date: Sat, 07 Nov 2026 22:33
19 lines
2265 bytes
2265 bytes
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). > 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:
<11co8v0$3rm07$3@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>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: Lawrence D’Oliveiro <ldo@nz.invalid> Newsgroups: comp.arch Subject: Re: carry-in (was: two's complement and Flags) Date: Sat, 7 Nov 2026 22:33:05 -0000 (UTC) Organization: A noiseless patient Spider Lines: 19 Message-ID: <11co8v0$3rm07$3@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> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Sat, 07 Nov 2026 22:33:05 +0000 (UTC) Injection-Info: dont-email.me; logging-data="4052999"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+NIcG1neAbe4cWq4HG8HMa"; posting-host="4445ec4f85fbe86abded07bc359f6af4" User-Agent: Pan/0.165 (Kostiantynivka) Cancel-Lock: sha1:c8TCQLQ5U/INXZSyMomVaunuaxQ= sha256:qZPIYNzh3gljtkMKAnqbRuvh7uujXZtZefsKOrvxKNo= sha1:qItIOUep7pVKyZa3lTV4Pdjnh00= sha256:tliy3tYHPpFvtpoPJKU7e3zzM+5Hd69JKchXwIJenTs=