Article View: comp.arch
Article #964Re: carry-in
From: Waldek Hebisch
Date: Thu, 26 Nov 2026 01:52
Date: Thu, 26 Nov 2026 01:52
28 lines
2132 bytes
2132 bytes
John Savard <quadibloc@invalid.com> wrote:
> On Sat, 07 Nov 2026 07:41:34 GMT, anton@mips.complang.tuwien.ac.at
> (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.
>
> IIRC, the 6809 and the Z-80 had a 16-bit add instruction - but the
> 8080
8080 has DAD B, DAD D, DAD H and DAD SP which add register pairs
with result in HL. There is also DCX B and similar (which decrement
register pair). It does not handle carry, and does not have
general 16 bit subtraction.
> and the 6800 did not. So not having one was not a consequence of
> how cheap the 6502 was designed to be, although it definitely was
> designed to be much cheaper than the 8080 and 6800.
I am not sure about "much". 6502 looks simpler than 8080, but
not much simpler. IIUC in not so long time prices of Z80 (which
is sigmificantly more complex than 8080) and 6502 got very
similar.
--
Waldek Hebisch
Technical Details
Message-ID:
<11e83ch$ppu0$3@paganini.bofh.team>Path:
mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!paganini.bofh.team!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> <6af12adb.4172593@news.eternal-september.org>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!paganini.bofh.team!not-for-mail
From: antispam@fricas.org (Waldek Hebisch)
Newsgroups: comp.arch
Subject: Re: carry-in
Date: Thu, 26 Nov 2026 01:52:19 -0000 (UTC)
Organization: bofh.team Usenet service
Message-ID: <11e83ch$ppu0$3@paganini.bofh.team>
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> <6af12adb.4172593@news.eternal-september.org>
Injection-Date: Thu, 26 Nov 2026 01:52:19 -0000 (UTC)
Injection-Info: paganini.bofh.team; logging-data="845760"; mail-complaints-to="usenet@bofh.team"; posting-host="d028f9ad2fa2c51f22dbfed0d81d7daf"; posting-account="69e66f1681224ab92235b464ce7a90b6"
User-Agent: tin/2.6.2-20221225 ("Pittyvaich") (Linux/6.1.0-9-amd64 (x86_64))
X-Postfilter: Postfilter-NG 2026.10.2