[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: A bit more on bits...
- From: Sean Conner <sean@...>
- Date: Thu, 16 Feb 2023 16:56:30 -0500
It was thus said that the Great Francisco Olarte once stated:
> On Thu, 16 Feb 2023 at 15:05, Lorenzo Donati <email@example.com> wrote:
> > The AVR 8-bit architecture (used in ATmega328 MCUs, for and other uChip
> > former Atmel MCUs) has a half carry bit in its flag register.
> it's useful, specially in slow processors, how many have used the
> classic Z80 sequence
> add ax,0x40
> adc ax,0x90
Um, aside from using AX (which is from the 8086), what's so speial about
this sequence? Aside from doing a bit of BCD atrithmetic?